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)

 

Created in 2020 by Google Inc.