---
layout: doc
title: system / time
---
# time

### NAME

    time() - return the number of seconds since January 1, 1970

### SYNOPSIS

    int time( void );

### DESCRIPTION

    Return the number of seconds since midnight (GMT) January 1, 1970.

### SEE ALSO

    ctime(3), localtime(3), time_expression(3), uptime(3)

