/
TimestampFromEpoch function
TimestampFromEpoch function
Returns a time stamp from the given UNIX epoch time.
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 timestamp 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
TimestampFromTime function
TimestampFromTime function
Read with this
Converting Timestamp types to Date in Wrangler
Converting Timestamp types to Date in Wrangler
Read with this
DaysSinceFromDate function
DaysSinceFromDate function
More like this
Data definition manipulation functions
Data definition manipulation functions
Read with this
Format Date directive
Format Date directive
Read with this
Splunk Streaming Source
Splunk Streaming Source
More like this
Created in 2020 by Google Inc.