From Cppreference
The class std::time_base provides the date order constants which are inherited by the std::time_get facets.
[edit] Member types
|
Member type
|
Definition
|
|
enum dateorder { no_order, dmy, mdy, ymd, ydm };
|
Unscoped enumeration type
|
|
Enumeration constant
|
Definition
|
|
no_order
|
Unspecified order
|
|
dmy
|
Day, month, year (european) order
|
|
mdy
|
Month, day, year (american) order
|
|
ymd
|
Year, month, day
|
|
ydm
|
Year, day, month
|
[edit] See also
|
|
parses time/date values from an input character sequence into struct std::tm (class template)
|