/
TimestampFromSecondsSince function
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)
Related content
DaysSinceFromDate function
DaysSinceFromDate function
More like this
Splunk Batch Source (Deprecated)
Splunk Batch Source (Deprecated)
More like this
Splunk Streaming Source
Splunk Streaming Source
More like this
NGramTransform Spark Compute Analytics (Deprecated)
NGramTransform Spark Compute Analytics (Deprecated)
More like this
Google Ads Single Report Batch Source (Deprecated)
Google Ads Single Report Batch Source (Deprecated)
More like this
Salesforce Marketing Cloud Batch Source
Salesforce Marketing Cloud Batch Source
More like this
Created in 2020 by Google Inc.