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

milvus-logo
LFAI
< Docs
  • Node
    • Utils

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 

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?