cppreference.com
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::
localtime
From cppreference.com
<
cpp
|
chrono
|
c
C++
Compiler support
Freestanding and hosted
Language
Standard library
Standard library headers
Named requirements
Feature test macros
(C++20)
Language support library
Concepts library
(C++20)
Diagnostics library
Memory management library
Metaprogramming library
(C++11)
General utilities library
Containers library
Iterators library
Ranges library
(C++20)
Algorithms library
Strings library
Text processing library
Numerics library
Date and time library
Input/output library
Filesystem library
(C++17)
Concurrency support library
(C++11)
Execution control library
(C++26)
Technical specifications
Symbols index
External libraries
[edit]
Date and time library
Time point
time_point
(C++11)
clock_time_conversion
(C++20)
clock_cast
(C++20)
Duration
duration
(C++11)
Clocks
system_clock
(C++11)
steady_clock
(C++11)
is_clock
(C++20)
utc_clock
(C++20)
tai_clock
(C++20)
high_resolution_clock
(C++11)
gps_clock
(C++20)
file_clock
(C++20)
local_t
(C++20)
Time of day
is_am
is_pm
(C++20)
(C++20)
make12
make24
(C++20)
(C++20)
hh_mm_ss
(C++20)