os_date_string [function]

os_date_string( string fmt, int time = os_time() )

returns the date/time string in the format fmt, optionally for a different time time