Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns a time stamp from the given UNIX epoch time.

Namespace

datetime

Input

seconds(int|string), base timestamp(timestamp|string)

Output

timestamp(timestamp)

Example

If seconds contains the value 2563 and basetimestamp contains the timestamp 2008–08–18 22:30:52, then the two following functions are equivalent, and return the timestamp 2008–08–18 23:13:35

...