Display current time in format, if format omitted displays YYYY-MM-DDTHH:mm:ss[Z]
- format - The format to display the time as
YYYY
4 or 2 digit yearYY
2 digit yearY
Year with any number of digits and signQ
Quarter of year. Sets month to first month in quarter.M MM
Month numberMMM MMMM
Month name in locale set by moment.locale()D DD
Day of monthDo
Day of month with ordinalDDD DDDD
Day of yearX
Unix timestampx
Unix ms timestamp
${time(MM/DD/YYYY)}
Displays current Mouth/Day/Year
%{time(x)}
Displays the current date as a ms timestamp