Time() | create a new date with the current time |
Time(string iso) | create a new date from an ISO-8601 string |
Time(integer year, integer month, integer day, integer hour, integer minute, integer second) | create a new date |
year | the year of this date |
month | the month of this date as a number, 1-indexed |
day | the day of the month, 1-indexed |
weekday | the day of the week, 0-indexed, starting on Sunday |
hour | the hour of this date |
minute | the minute of this date |
second | the second of this date |
date() | this time as an ISO-8601 date string. |
dayname() | the name of the weekday. |
format(string specifiers) | print this date as a string according to the given strftime specifiers. |
monthname() | this name of the month. |
set(string iso) | set the date value from an ISO-8601 string |
time() | this time as an ISO-8601 time string. |
Create a new date with the current time
Create a new date from an ISO-8601 string
Create a new date
The year of this date
The month of this date as a number, 1-indexed
The day of the month, 1-indexed
The day of the week, 0-indexed, starting on Sunday
The hour of this date
The minute of this date
The second of this date
This time as an ISO-8601 date string.
The name of the weekday.
Print this date as a string according to the given strftime specifiers.
This name of the month.
Set the date value from an ISO-8601 string
This time as an ISO-8601 time string.