You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have to add the duration to the beginning of the epoch to be able to parse the timestamp. So, we are using additional computation to parse the beginning of the epoch's timestamp every time this statement runs.
Describe the solution you'd like
The Time function to take in a float value with a passed in the format of something like s, ms, s.ms, or s.ns.
Describe alternatives you've considered
Alternatively, there could be new functions that were the inverse of the Unix Time functions.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component(s)
pkg/ottl
Is your feature request related to a problem? Please describe.
There's currently no easy way to get an epoch time from a value.
here's an example of the best way I've come up with to parse a simple epoch time.
example:
We have to add the duration to the beginning of the epoch to be able to parse the timestamp. So, we are using additional computation to parse the beginning of the epoch's timestamp every time this statement runs.
Describe the solution you'd like
The Time function to take in a float value with a passed in the format of something like
s
,ms
,s.ms
, ors.ns
.Describe alternatives you've considered
Alternatively, there could be new functions that were the inverse of the Unix Time functions.
Additional context
No response
The text was updated successfully, but these errors were encountered: