TimestampOffsetBySeconds function
Returns the timestamp, with offsets applied from the base timestamp with seconds offset.
Namespace
datetime
Input
base timestamp(timestamp|string), seconds offset(long|string)
Output
timestamp(timestamp)
Example
If basetimestamp contains 2009-08-18 14:05:29 and secondsoffset contains the value 32760, then the two following functions are equivalent, and return the timestamp 2009-08-18 23:11:29
set-column result datetime:TimestampOffsetBySeconds('2009-08-18 14:05:29', 32760)
set-column result datetime:TimestampOffsetBySeconds(basetimestamp, secondsoffset)
Created in 2020 by Google Inc.