Functions: com.teracloud.streams.datetime 3.0.0
Functions
- currentTimeMillis()
- Return the number of milliseconds since the epoch (1970-01-01 00:00:00.000). Returns a value that can be used with the type TimeMillis.
- currentTimestamp()
- Get the current time using getTimestamp().
- days(float64)
- Convert days to seconds as a float64.
- days(int32)
- Convert whole days to seconds as a float64.
- fromIso8601ToMillis(T)
- Convert a full ISO 8601 date to number of milliseconds since the epoch.
- fromIso8601ToTimestamp(rstring)
- Get a SPL timestamp from a full ISO 8601 date.
- fromIso8601ToTimestamp(rstring, int32)
- Get a SPL timestamp from a full ISO 8601 date and a machine identifier.
- hours(float64)
- Convert hours to seconds as a float64.
- hours(int32)
- Convert whole hours to seconds as a float64.
- minutes(float64)
- Convert minutes to seconds as a float64.
- minutes(int32)
- Convert whole minutes to seconds as a float64.
- now()
- Get the current time using getTimestamp().
- parseDateTime(rstring)
- Convert formatted timestamp to SPL timestamp.
- parseDateTime(rstring, boolean)
- Convert formatted timestamp to SPL timestamp.
- seconds(float64)
- Returns the same value.
- seconds(int32)
- Convert whole seconds to seconds as a float64.
- toIso8601(int64)
- Convert a TimeMillis value to an full ISO 8061 date using UTC as the time zone.
- toIso8601(uint64)
- Convert a TimeMillis value to an full ISO 8061 date using UTC as the time zone.
- toTimeMillis(timestamp)
- Get a TimeMillis value from a SPL timestamp value.
- toTimestamp(TimeMillis)
- Get a SPL timestamp from a TimeMillis.
- toTimestamp(TimeMillis, int32)
- Get a SPL timestamp from a TimeMillis and a machine identifier.