Versions Compared

Key

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

Returns the number of seconds between two time stamp objects.

Namespace

datetime

Input

timestamp(timestamp|string), timestamp base(timestamp|string)

Output

second(int)

Example

If timestamp contains the time stamp 2008–08–18 22:30:52, and basetimestamp contains the timestamp 2008–08–19 22:30:52, then the two following functions are equivalent, and return the value -86400:

...