Date and time utilities

From cppreference.com
< cpp
Jump to: navigation, search

Contents

[edit] Time point

Time point defines amount of time that has passed since the epoch of specific clock.

Defined in header <chrono>
Defined in namespace std::chrono
a point in time
(class template) [edit]

[edit] Duration

Duration defines time span between two time points.

Defined in header <chrono>
Defined in namespace std::chrono
(C++11)
a time interval
(class template) [edit]

[edit] Clocks

Clock defines a mechanism to measure the amount of time since the epoch specific to that clock.

Defined in header <chrono>
Defined in namespace std::chrono
wall clock time from the system-wide realtime clock
(class) [edit]
monotonic clock that will never be adjusted
(class) [edit]
the clock with the shortest tick period available
(class) [edit]

[edit] C library date and time facilities

 

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox