milvus-logo
Star
0
Forks
0
Get Started

datetimeToHybrids()

This method generates a hybrid timestamp based on an existing datetime.

Invocation

datetimeToHybrids(HybridTimestamp);

Parameters

ParameterDescriptionTypeRequired
HybridTimestampThe hybrid timestamp, a non-negative integer ranging from 0 to 18446744073709551615.StringTrue

Example

datetimeToHybrids(new Date(1638957092 * 1000));

Return

//The hybrid timestamp
429642767925248000