date [<timestamp in seconds>] (<format>)

Returns a formatted date for the specified unix time. For a list of standard date and time formats, visit For more info on custom formats, visit


  1. The unix timestamp, in seconds, for which to return the date.
  2. The format preset or custom format to use for the date.

Returns: The formatted date for the timestamp.