Copyright © 1998-2006,2011 Dipl.-Inform. Kai Hofmann. All rights reserved! |
|||||||
MUIA_TimeString_TimeFormat, "%H:%M:%S",
\*result =*\ set(obj,MUIA_TimeString_TimeFormat,tfs);
\*result =*\ get(obj,MUIA_TimeString_TimeFormat,&tfs);
Defaults to system Locale->loc_ShortTimeFormat or "%H:%M" if no locale can be found.
Syntax of Amiga compatible % commands:
%q - hour using 24-hour style
%Q - hour using 12-hour style
%H - hour using 24-hour style with leading 0s
%I - hour using 12-hour style with leading 0s
%p - AM or PM strings
%M - the number of minutes with leading 0s
%S - number of seconds with leadings 0s
%r - same as "%I:%M:%S %p"
%R - same as "%H:%M"
%T - same as "%H:%M:%S"
%X - same as "%H:%M:%S"
Syntax of % commands:
%Th1f - hour using 12h style with leading 0s
%Th1v - hour using 12h style without leading 0s
%Th2f - hour using 24h style with leading 0s
%Th2v - hour using 24h style without leading 0s
%Tpso - a/p
%Tpsu - A/P
%Tplo - am/pm
%Tplu - AM/PM
%Tmf - minute with leading 0s
%Tmv - minute without leading 0s
%Tsf - second with leading 0s
%Tsv - second without leading 0s
%Tj. - jd time starting with '.'
%Tj, - jd time starting with ','
%Tj0 - jd time starting with '0.'
%Tj1 - jd time starting with '0,'
%Tzh?? : hours only
%Tzm? : 0100 (always with leading 0s)
%TzM?? : 01:00
%Tz?z? : Use Z for UTC/GMT
%Tz?0? : Use +00 for UTC/GMT
%Tz??f : use leading 0s
%Tz??v : do not use leading 0s
%Tc1 : Use DST for summer->winter change hour
%Tc2 : Use I/II for summer->winter change hour
%Tc3 : Use a/b for summer->winter change hour (24h only) - on 12h falls back to 2