Namespaces
Variants
Actions

std::time_base

From cppreference.com
< cpp‎ | locale
 
C++
 
Text processing library
 
Localization library
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

obtains preferred ordering of day, month, and year
(virtual protected member function of std::time_get<CharT,InputIt>) [edit]
[virtual]
extracts month, day, and year from input stream
(virtual protected member function of std::time_get<CharT,InputIt>) [edit]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant