Versions Compared

Key

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

Returns the number of seconds from midnight to the given time.

Namespace

datetime

Input

time(time)

Output

seconds(int)

Example

If basetime contains the time 00:30:52, then the two following functions are equivalent, and return the value 1852:

...