/
SecondsFromTime function
SecondsFromTime function
Returns the seconds portion of a time.
Namespace
datetime
Input
time(time
|string
)
Output
second(int
)
Example
If basetime
contains the time 22:30:52
, then the two following functions are equivalent, and return the value 52
:
set-column result datetime:SecondsFromTime('22:30:52')
set-column result datetime:SecondsFromTime(basetime)
Related content
CurrentTimestamp function
CurrentTimestamp function
Read with this
DaysSinceFromDate function
DaysSinceFromDate function
More like this
TimeFromComponents function
TimeFromComponents function
Read with this
ORC Dynamic Partitioned Dataset Sink (Deprecated)
ORC Dynamic Partitioned Dataset Sink (Deprecated)
More like this
Splunk Streaming Source
Splunk Streaming Source
More like this
Google Ads Single Report Batch Source (Deprecated)
Google Ads Single Report Batch Source (Deprecated)
More like this
Created in 2020 by Google Inc.