Time manipulation |
|
Defined in header <time.h> |
|
---|---|
computes the difference between times (function) |
|
returns the current calendar time of the system as time since epoch (function) |
|
returns raw processor clock time since the program is started (function) |
|
(since C11) | returns the calendar time based on a given time base (function) |
Format conversions |
|
Defined in header <time.h> |
|
(C11) | converts a tm object to a textual representation (function) |
(C11) | converts a time_t object to a textual representation (function) |
converts a tm object to custom textual representation (function) |
|
Defined in header <wchar.h> |
|
(C95) | converts a tm object to custom wide string textual representation (function) |
Defined in header <time.h> |
|
(C11) | converts time since epoch to calendar time expressed as Coordinated Universal Time (UTC) (function) |
(C11) | converts time since epoch to calendar time expressed as local time (function) |
converts calendar time to time since epoch (function) |
Defined in header <time.h> |
|
---|---|
number of processor clock ticks per second (macro constant) |
Defined in header <time.h> |
|
---|---|
calendar time type (struct) |
|
calendar time since epoch type (typedef) |
|
processor time since era type (typedef) |
|
(since C11) | time in seconds and nanoseconds (struct) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/c/chrono