Namespaces
Variants
Actions

Date and time utilities

From cppreference.com
< c

Contents

[edit] Functions

Time manipulation
Defined in header <time.h>
computes the difference between times
(function) [edit]
returns the current calendar time of the system as time since epoch
(function) [edit]
returns raw processor clock time since the program is started
(function) [edit]
returns the calendar time in seconds and nanoseconds based on a given time base
(function) [edit]
returns the resolution of calendar time based on a given time base
(function) [edit]
Format conversions
Defined in header <time.h>
(deprecated in C23)(C11)
converts a tm object to a textual representation
(function) [edit]
(deprecated in C23)(C11)
converts a time_t object to a textual representation
(function) [edit]
converts a tm object to custom textual representation
(function) [edit]
Defined in header <wchar.h>
converts a tm object to custom wide string textual representation
(function)