The info_time_style() function
Get a table of info on the different time-formatting styles (which are used by supplying a number code to the fmt_time() function).
| Time Formatting Options |
Usable in the fmt_time() and fmt_datetime() functions |
|
Format Name |
12/24h |
|
Formatted Time |
| 1 |
iso |
24h |
|
14:35:00 |
| 2 |
iso-short |
24h |
|
14:35 |
| 3 |
h_m_s_p |
12h |
|
2:35:00 PM |
| 4 |
h_m_p |
12h |
|
2:35 PM |
| 5 |
h_p |
12h |
|
2 PM |
| 6 |
Hms |
24h |
FLEXIBLE |
14:35:00 |
| 7 |
Hm |
24h |
FLEXIBLE |
14:35 |
| 8 |
H |
24h |
FLEXIBLE |
14 |
| 9 |
EHm |
24h |
FLEXIBLE |
Thu 14:35 |
| 10 |
EHms |
24h |
FLEXIBLE |
Thu 14:35:00 |
| 11 |
Hmsv |
24h |
FLEXIBLE |
14:35:00 GMT |
| 12 |
Hmv |
24h |
FLEXIBLE |
14:35 GMT |
| 13 |
hms |
12h |
FLEXIBLE |
2:35:00 PM |
| 14 |
hm |
12h |
FLEXIBLE |
2:35 PM |
| 15 |
h |
12h |
FLEXIBLE |
2 PM |
| 16 |
Ehm |
12h |
FLEXIBLE |
Thu 2:35 PM |
| 17 |
Ehms |
12h |
FLEXIBLE |
Thu 2:35:00 PM |
| 18 |
EBhms |
12h |
FLEXIBLE |
Thu 2:35:00 in the afternoon |
| 19 |
Bhms |
12h |
FLEXIBLE |
2:35:00 in the afternoon |
| 20 |
EBhm |
12h |
FLEXIBLE |
Thu 2:35 in the afternoon |
| 21 |
Bhm |
12h |
FLEXIBLE |
2:35 in the afternoon |
| 22 |
Bh |
12h |
FLEXIBLE |
2 in the afternoon |
| 23 |
hmsv |
12h |
FLEXIBLE |
2:35:00 PM GMT |
| 24 |
hmv |
12h |
FLEXIBLE |
2:35 PM GMT |
| 25 |
ms |
— |
FLEXIBLE |
35:00 |