Date

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

Returns a formatted date for the specified unix time. For a list of standard date and time formats, visit https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings. For more info on custom formats, visit https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings.

Parameters:

  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.