milvus-logo
Star
0
Forks
0
Get Started

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 timestampNon-negative integer range from 0 to 18446744073709551615True
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.