The possible order values are:
| value | date order |
|---|---|
| no_order | No specific order, or format contains variable components other than day, month and year. |
| dmy | day, month, year |
| mdy | month, day, year |
| ymd | year, month, day |
| ydm | year, day, month |
During its operation, the version of this function in the generic template simply calls the virtual protected member do_date_order, which is the member function in charge of performing the actions described above.
Parameters
noneReturn value
A value of enumerated member type dateorder indicating the preferred order of date components (see time_get::dateorder).Example
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
Possible output:
mdy |
See also
| time_get::get_date | Read date (public member function) |
| time_get::get_monthname | Read month name (public member function) |
| time_get::get_year | Read year (public member function) |
| time_put::put | Write time (public member function) |
