Versions Compared

Key

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

...

VariableMeaningExamples
${fireCount}
Fire count5
${createdDate.month}
Creation monthFebruary
${createdDate.year}
Creation year2015
${dueDate.month}
Due monthFebruary
${dueDate.year}
Due year2015
${createdDate.date}
Creation date in format dd/MMM/YY10/Feb/15
${dueDate.date}
Due date in format dd/MMM/YY10/Feb/15
${createdDate.completeDateTime}
Creation date in format dd/MMM/YY hh:mm10/Feb/15 2:05 PM
${dueDate.completeDateTime}
Due date in format dd/MMM/YY hh:mm10/Feb/15 2:05 PM
${createdDate.format("dd-MM-YYYY HH:mm")}
Creation date in custom format10-02-2015 14:05
${dueDate.format("dd-MM-YYYY HH:mm")}
Due date in custom format10-02-2015 14:05


You can define your own date format using the last two variables - simply by replacing the dd-MM-YYYY HH:mm with the desired format. You can use following letters in date format:

GEra designatortextAD
CCentury of era (>=0)number20
YYear of era (>=0)year2007
yYearyear2007
xWeekyearyear2007
wWeek of weekyearnumber27
eDay of weeknumber2
EDay of weektextTuesday; Tue
DDay of yearnumber189
MMonth of yearmonthJuly; Jul; 07
dDay of monthnumber10
aHalfday of daytextPM
KHour of halfday (0~11)number0
hClockhour of halfday (1~12)number12
HHour of day (0~23)number0
kClockhour of day (1~24)number24
mMinute of hournumber30
sSecond of minutenumber55
SMilisecondnumber978
zTime zonetextPacific Standard Time; PST
ZTime zone offset/idzone-0800; -08:00; America/Los_Angeles