milvus-logo
LFAI
< Docs
  • Python

mkts_from_unixtime()

This method generates a hybrid timestamp based on Unix Epoch time, timedelta and incremental time interval.

Invocation

mkts_from_unixtime(epoch, milliseconds=0.0, delta=None)

Parameters

ParameterDescriptionTypeRequired
epochUnix Epoch timeIntegerTrue
millisecondsIncremental time interval. Unit: millisecondsFloatFalse
deltaA duration indicates the difference between two pieces of date, time, or datetime instances to microsecond resolutiondatetime.timedeltaFalse

Return

A new hybrid timestamp.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?