Standard library header <ctime>

From cppreference.com
< cpp‎ | header

This header was originally in the C standard library as <time.h>.

This header is part of the C-style date and time library.

Contents

[edit] Macro Constants

number of processor clock ticks per second
(macro constant)
implementation-defined null pointer constant
(macro constant)

[edit] Types

process running time
(typedef)
unsigned integer type returned by the sizeof operator
(typedef)
time since epoch type
(typedef)
calendar time type
(class)

[edit] Functions

Time manipulation
returns raw processor clock time since the program is started
(function)
returns the current time of the system as time since epoch
(function)
computes the difference between times
(function)
Format conversions
converts a time_t object to a textual representation
(function)
converts a tm object to a textual representation
(function)
converts a tm object to custom textual representation
(function)
converts a tm object to custom wide string textual representation
(function)
converts time since epoch to calendar time expressed as Universal Coordinated Time
(function)
converts time since epoch to calendar time expressed as local time
(function)
converts calendar time to time since epoch
(function)