/
TimeFromMidnightSeconds function
TimeFromMidnightSeconds function
Returns the time given the number of seconds since midnight.
Namespace
datetime
Input
seconds(int
|string
)
Output
time(time
)
Example
If midnightseconds
contains the value 240
, then the two following functions are equivalent, and return the value 00:04:00
set-column result datetime:TimeFromMidnightSeconds(240)
set-column result datetime:TimeFromMidnightSeconds('240')
set-column result datetime:TimeFromMidnightSeconds(midnightseconds)
Related content
CurrentTimestampMicro function
CurrentTimestampMicro function
Read with this
MidnightSecondsFromTime function
MidnightSecondsFromTime function
More like this
TimeFromComponents function
TimeFromComponents function
More like this
HoursFromTime function
HoursFromTime function
More like this
MinutesFromTime function
MinutesFromTime function
More like this
SecondsFromTime function
SecondsFromTime function
More like this
Created in 2020 by Google Inc.