Time
● Help Source: Base.Shofar/Help
Time Part Code “x_” “x0” “x1” “x2” “x?” “x#” “xX” xX value
Era “E” “ee” “EB”
Century “C” “cc”
Year “Y” “yyyy” “Y4”
Month “M” “mm” M3
Day “D” “dd”
Hour “H” “hh”
Minute “N” “mm”
Second “S” “ss”
Millisecond “F” “fff” F3
Day of Week “W” “www” W3
AM / PM “A” “aa”
Zone “Z” “zzzzzz” “Z6”
Suffix Action
“x_” Two to four Digits NBSP padded
“x0” Two to four Digits zero padded, 0 if not present
“x1” One Digit
“x2” Two Digits
“x3” Three Digits
“x4” Four Digits
“x#” Two to four character placeholder if not present
Code Time Part Current Action
' ' Space character.
'!' All End render if Time is not present.
'-' Dash character.
'.' Period (dot) character.
':' Colon character.
'\' Escape character. Render next character.
'_' Rendered as a Non-Break Space (0xA0).
'^' Complement Conditional.
'|' End of Conditional
'~' If Conditional end.
“HM” Hour One or two digits - 12 hour format. NBSP padded.
“Hm” Hour One or two digits - 12 hour format.
“ME” Month English month.
“WE” Day of Week English day of week.
'X' All Hexadecimal value
'a' All Age from local time
'd' All Dash Time (Y?Y4M?-M2D?-D2H?-H2N?-N2S?-S2F?-F3)
'e' All Elapsed Time
'f' All Full Time (WE ME D1, Y4 H1:N0:S0A2)
'g' All Segment Time (Y?-Y4M?-M2D?-D2H?-H2N?-N2S?-S2)
's' All Short Time (W3 M3 D1, Y4 H1:N0:S0A2)
't' All Standard Time (Y4Y?M?-|M?M2|M?D?-|D?D2|D?H?_|H?H2|H?N?:|N?N2|N?S?:|S?S2|F?.F3)
'u' All Full Time with placeholders (Y#-M#-D# H#:N#:S#.F#)
'x' All XML time (Y4-M2-D2H?\\TH2:N0:S0F?.F3Z6)
“ZZ” Zone UTC Time
ShofarDomain™ ● ShofarDomain.Own
Code Result
EB Y4-M2-D2 H2:N2:S2
Y0-M0-D0-H0-N0-S0
WE ME D1, Y4 H1:N0:S0A2
W3 M3 D1, Y4 H1:N0:S0A2
W3 M3 D1, Y1 H2:N0:S0

millisecond resolution, time zone to quarter hour

6666 5555 5555 5544 4444 4444 3333 3333 3322 2222 2222 1111 1111 11

3210 9876 5432 1098 7654 3210 9876 5432 1098 7654 3210 9876 5432 1098 7654 3210

  WW WZZZ ZZZZ ZZYY YYYY YYYY YYYY MMMM DDDD DHHH HHNN NNNN SSSS SSFF FFFF FFFF