milvus-logo

mkts_from_hybridts()

This method generates a hybrid timestamp based on an existing hybrid timestamp, timedelta and incremental time interval.

Invocation

mkts_from_hybridts(hybridts, milliseconds=0.0, delta=None)

Parameters

ParameterDescriptionTypeRequired
hybridtsThe original hybrid timestamp.Non-negative integer range from 0 to 18446744073709551615True
millisecondsIncremental time interval. Unit: milliseconds.FloatFalse
deltaA duration indicates the difference between two pieces of date, time, or datetime instances to microsecond. resolutiondatetime.timedeltaFalse

Return

A new hybrid timestamp.