mtime time ?format?
Return date and time strings given a Mac epoch time (i-e a time specified as the number of seconds that have elapsed since Midnight Jan 1, 1904, as typically obtained from the
[now] command).
The optional format argument specifies the format in which the date is displayed. The possible format values are: abbrev, full, long, offset, short, standard. The default value is standard which corresponds to the fixed format YYYY-MM-DD HH:MM:SS. The offset format is like the standard format but also appends the time zone offset. The other formats provide localized date and time using the current locale.
The returned value is a two-elements list: the first element is the date, the second one is the time. To get a single string use the [join] command.