Name | Writable | Description |
---|---|---|
monthName | no | The name of the month. |
shortMonthName | no | The short name of the month. |
weekDayName | no | The name of the day in the week. |
shortWeekDayName | no | The short name of the day in the week. |
isAM | no | The boolean value indicating morning. |
isPM | no | The boolean value indicating afternoon. |
epoch | yes | The Epoch. |
year | yes | The year. |
month | yes | The month, starting at 1. |
day
date | yes | The day, starting at 1. |
hour | yes | The hour. |
minute | yes | The minute. |
second | yes | The second. |
milliSecond | yes | The milliSecond. |
zoneOffset | yes | The time zone offset. |
dstOffset | yes | The DST offset. |
weekOfYear | no | The week of the year, starting at 1. |
weekOfYear | no | The week of the year, starting at 1. |
weekOfMonth | no | The week of the month, starting at 1. |
dayOfMonth | no | The day of the month, starting at 1. |
dayOfYear | no | The day of the year, starting at 1. |
dayOfWeek | no | The day of the week, starting at 1. |
dayOfWeekInMonth | no | The day of week in the month, such as 'the first Tuesday'. |