Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


'
Symbol
Meaning
Presentation
Examples
GeratextAD
Ccentury of era (>=0)number20
Yyear of era (>=0)year1996
YYyear of era (>=0)year96
YYYYyear of era (>=0)year1996
xweekyearyear1996
wweek of weekyearnumber27
eday of week (1~7, where Monday is 1)number2
Eday of weektextTue
EEEEday of weektextTuesday
yyearyear1996
yyyearyear96
yyyyyearyear1996
Dday of yearnumber189
Mmonth of yearmonth7
MMmonth of yearmonth07
MMMmonth of yearmonthJUL
MMMMmonth of yearmonthJULY
dday of monthnumber5
ddday of monthnumber05
ahalfday of daytextPM
Khour of halfday (0~11)number3
KKhour of halfday (0~11)number03
hclockhour of halfday (1~12)number5
hhclockhour of halfday (1~12)number05
Hhour of day (0~23)number6
HHhour of day (0~23)number06
kclockhour of day (1~24)number9
kkclockhour of day (1~24)number09
mminute of hournumber5
mmminute of hournumber05
ssecond of minutenumber7
sssecond of minutenumber07
Sfraction of secondnumber978
'escape for textdelimiter
''single quoteliteral'
The following formats are not available in Date Time Formats:
Ztime zone offset/idzone-0800
ZZtime zone offset/idzone-08:00
ZZZtime zone offset/idzoneAmerica/Los_Angeles'escape for textdelimiter''single quoteliteral

The following format is not available for use in toString, which will instead return the same as Z. 

The time zones supported will be dependent on your server settings. Unsupported time zones will result in an error during analysis.

ztime zonetext

PST


The number of letters used in the pattern determines the format.

...