Create a Moya datetime object.
Datetime objects have the following properties:
.tz
)<datetime year="1974" month="7" day="5" dst="birthday" /><echo>Your birthday is ${localize:birthday}</echo>
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
day |
Month | integer | No | 1 |
|
hour |
Hour | integer | No | 0 |
|
minute |
Minute | integer | No | 0 |
|
month |
Month | integer | No | 1 |
|
second |
Second | integer | No | 0 |
|
year |
Year | integer | Yes |
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
dst |
Destination | reference | No | ||
if |
Conditional expression | expression | No | yes |
|
value |
Value | expression | No | None |