/
MidnightSecondsFromTime function
MidnightSecondsFromTime function
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
:
set-column result datetime:MidnightSecondsFromTime('00:30:52')
set-column result datetime:MidnightSecondsFromTime(basetime)
Related content
TimeFromMidnightSeconds function
TimeFromMidnightSeconds function
More like this
MilliSecondsFromTime function
MilliSecondsFromTime function
More like this
MinutesFromTime function
MinutesFromTime function
More like this
MicroSecondsFromTime function
MicroSecondsFromTime function
More like this
HoursFromTime function
HoursFromTime function
More like this
SecondsFromTime function
SecondsFromTime function
More like this
Created in 2020 by Google Inc.