Namespaces
Variants
Views
Actions

Standard library header <ctime>

From cppreference.com
< cpp‎ | header
Revision as of 07:46, 5 September 2013 by 95.220.170.37 (Talk)

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

Functions

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

Constants

number of processor clock ticks per second
(macro constant) [edit]

Types

calendar time type
(class) [edit]
time since epoch type
(typedef) [edit]
process running time
(typedef) [edit]