Returns the current timestamp as an EventTime
Similar to Date.now()
The EventTime representation of the current timestamp
Converts a Date
to an EventTime
.
The Date
object to convert
The equivalent EventTime
.
Creates a new EventTime
from a numeric timestamp
The numeric timestamp to convert to an EventTime
The EventTime representation of the timestamp
Creates a new EventTime object
The epoch (seconds since midnight, Jan 1st, 1970)
The nano part (epoch + nano = timestamp)
The epoch of this EventTime (seconds since midnight, Jan 1st, 1970)
The nano part of this EventTime (epoch + nano = timestamp nanos)
Generated using TypeDoc
TS/JS representation of the Fluentd EventTime type