OS

os.date

Formats the given string with date/time information based on the given time.

Syntax

date(formatString, time)