std::time_base
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Text processing library
Regular expressions library (C++11)
Formatting library (C++20)
(C++17)
(C++17)
(C++17)
(C++17)
(C++17)
(C++26)
Localization library
time_base
(C++11/17/26*)
(C++11/17/26*)
(C++11/17/26*)
(C++11/17/26*)
(C++11/17/26*)
(C++11/17/26*)
Defined in header
<locale>
class time_base;
The class std::time_base
provides the date order constants which are inherited by the std::time_get facets.
[edit] Member types
Member type
Description
enum dateorder { no_order, dmy, mdy, ymd, ydm };
Unscoped enumeration type
Enumeration constant
Description
no_order
Unspecified order
dmy
Day, month, year (European) order
mdy
Month, day, year (American) order
ymd
Year, month, day (Asian) order
ydm
Year, day, month
[edit] See also
[virtual]
(virtual protected member function of
std::time_get<CharT,InputIt>
) [edit]
[virtual]
(virtual protected member function of
std::time_get<CharT,InputIt>
) [edit]