date

LUA

date

date ([FORMAT])

Returns a string containing date and time formatted according to the given FORMAT, following the rules of the ANSI C function strftime. By default, it returns a reasonable date and time representation that depends on the host system and on the current locale.