🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

milvus-logo
LFAI
< Docs
  • Python

hybridts_to_unixtime()

This method converts a hybrid timestamp to datetime according to timezone.

Invocation

hybridts_to_datetime(hybridts, tz=None)

Parameters

ParameterDescriptionTypeRequired
hybridtsHybrid timestampIntegerTrue
tzTimezone defined by a fixed offset from UTC. If argument tz is set None or not specified, the hybrid timestamp is converted to the local date and time of the platform.datetime.timezoneTrue

Return

The datetime object.

Raises

Exception: error if tz is not of type datetime.timezone.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?