to_j_instant
to_j_instant converts a date-time value to Java Instant.
Important
In query strings, users should choose the built-in function toInstant instead of to_j_instant. For more information, see:
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| dt | Union[None, Instant, int, str, datetime.datetime, numpy.datetime64, pandas.Timestamp] | A date-time value to convert to a Java Instant. Instant strings should be formatted according to the ISO-8601 standard, which is |
Returns
Returns an Instant.