time [C++ Reference]
Keywords: c,date,time
Date: 2009-12-17T05:27:56-0800

[[time]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## time

Syntax:

        #include <ctime>
        time_t time( time_t *time );

The function time() returns the current time (in seconds), or -1 if there is an error. If the argument `time` is given, then the current time is stored in `time`.

Related Topics: asctime, clock, ctime, difftime, gmtime, localtime, mktime, srand, strftime

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •