date {STRING format}
Inserts a date/time string as defined by the specified
format, or the format “yyyy-MM-dd hh:mm:ss”
if none is specified. The following translations are done when interpreting
format:
d | The day as number without a leading zero (1-31). |
dd | The day as number with a leading zero (01-31). |
ddd | The abbreviated localized day name (e.g. 'Mon'..'Sun'). |
dddd | The long localized day name (e.g. 'Monday'..'Sunday'). |
M | The month as number without a leading zero (1-12). |
MM | The month as number with a leading zero (01-12). |
MMMM | The long localized month name (e.g. 'January'..'December'). |
MMM | The abbreviated localized month name (e.g. 'Jan'..'Dec'). |
yy | The year as two digit number (00-99). |
yyyy | The year as four digit number (1752-8000). |
h | The hour without a leading zero (0..23 or 1..12 if AM/PM display). |
hh | The hour with a leading zero (00..23 or 01..12 if AM/PM display). |
m | The minute without a leading zero (0..59). |
mm | The minute with a leading zero (00..59). |
s | The second without a leading zero (0..59). |
ss | The second with a leading zero (00..59). |
z | The milliseconds without leading zeroes (0..999). |
zzz | The milliseconds with leading zeroes (000..999). |
AP | Use AM/PM display. AP will be replaced by either "AM" or "PM". |
ap | Use am/pm display. ap will be replaced by either "am" or "pm". |