/
TimestampOffsetBySeconds function
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)
Related content
DaysSinceFromDate function
DaysSinceFromDate function
More like this
Google Sheets Batch Source
Google Sheets Batch Source
More like this
Salesforce Marketing Cloud Batch Source
Salesforce Marketing Cloud Batch Source
More like this
Parquet Dynamic Partitioned Dataset Sink (Deprecated)
Parquet Dynamic Partitioned Dataset Sink (Deprecated)
More like this
Google Ads Single Report Batch Source (Deprecated)
Google Ads Single Report Batch Source (Deprecated)
More like this
NGramTransform Spark Compute Analytics (Deprecated)
NGramTransform Spark Compute Analytics (Deprecated)
More like this
Created in 2020 by Google Inc.