Returns a string or a table containing date and time,
formatted according to the given string
time argument is present,
this is the time to be formatted
os.time function for a description of this value).
date formats the current time.
format starts with '
then the date is formatted in Coordinated Universal Time.
After this optional character,
format is the string "
date returns a table with the following fields:
year (four digits),
wday (weekday, Sunday is 1),
yday (day of the year),
isdst (daylight saving flag, a boolean).
format is not "
date returns the date as a string,
formatted according to the same rules as the C function
When called without arguments,
date returns a reasonable date and time representation that depends on
the host system and on the current locale
os.date() is equivalent to