to_np_datetime64
to_np_datetime64 converts a Java date-time to a numpy.datetime64.
Warning
Avoid deephaven.time functions in query strings. Because deephaven.time provides functions that convert between Python and Java types, every call crosses the Python-Java boundary, which slows performance. For more information, see:
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| dt | Union[None, Instant, ZonedDateTime] | A Java date-time to convert to a |
Returns
Returns a numpy.datetime64.