Test /
Ftime2026
Locales
{(ftime "%T")}, GMT={(ftime "%T" tz=GMT)}
(:Fmt:fmt="%A %d%o %B %p":)
* No locale: {(ftime {*$:Fmt})} %item green%
* en_US: {(ftime {*$:Fmt} locale=en_US)}
* mi_NZ: {(ftime {*$:Fmt} locale=mi_NZ)}
* French: {(ftime {*$:Fmt} locale=fr_FR.UTF-8)}
* Invalid: %item red% {(ftime {*$:Fmt} locale=Petko)}
* Bulgarian: {(ftime {*$:Fmt} locale=bg_BG.UTF-8)}
* Russian: {(ftime {*$:Fmt} locale=ru_RU.UTF-8)}
* No locale: {(ftime {*$:Fmt})} %item green%
* Greek: {(ftime {*$:Fmt} locale=el_GR.utf8)}
* Armenian {(ftime {*$:Fmt} locale=hy_AM.utf8)}
* Japanese {(ftime {*$:Fmt} locale=ja_JP.utf8)}
* Chinese {(ftime {*$:Fmt} locale=zh_CN.utf8)}
* No locale: {(ftime {*$:Fmt})} %item green%
|
01:57:22, GMT=01:57:22
|
Locale is set for the function call only, then reverted to the previously active locale.
Timezones
* Error: {(ftime fmt="%b '''%d, %H:%M'''" tz=Europe/Petko)} %item red%
* No timezone (server default): {(ftime fmt="%b '''%d, %H:%M'''")} %item green%
* Pm's timezone: {(ftime fmt="%b '''%d, %H:%M'''" tz=America/Chicago)}
* Petko's timezone: {(ftime fmt="%b '''%d, %H:%M'''" tz=Europe/Sofia)}
* No timezone (server default): {(ftime fmt="%b '''%d, %H:%M'''")} %item green%
* Dfaure's timezone: {(ftime fmt="%b '''%d, %H:%M'''" tz=Europe/Paris)}
* Simon's timezone: {(ftime fmt="%b '''%d, %H:%M'''" tz=Pacific/Auckland)}
Not in 1-hour step from UTC:
* India: {(ftime fmt="%b '''%d, %H:%M'''" tz=Asia/Calcutta)}
* Australia: {(ftime fmt="%b '''%d, %H:%M'''" tz=Australia/Darwin)}
* Chatham islands {(ftime fmt="%b '''%d, %H:%M'''" tz=Pacific/Chatham)}
* No timezone (server default): {(ftime fmt="%b '''%d, %H:%M'''")} %item green%
|
Not in 1-hour step from UTC:
|
Timezone is set for the function call only, then reverted to the previously active timezone.