TimestampFromSecondsSince function

Returns a time stamp that is derived from the number of seconds from the base time stamp object.

Namespace

datetime

Input

seconds(int|string), base timestamp(timestamp|string)

Output

timestamp(timestamp)

Example

If seconds contains the value 2563 and basetimestamp contains the timestamp 2008–08–18 22:30:52, then the two following functions are equivalent, and return the time stamp 2008–08–18 23:13:35

set-column result datetime:TimestampFromSecondsSince(2563, '2008–08–18 22:30:52') set-column result datetime:TimestampFromSecondsSince('2563', '2008–08–18 22:30:52') set-column result datetime:TimestampFromSecondsSince(seconds, basetimestamp)



Created in 2020 by Google Inc.