🚀 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.

Example

import { datetimeToHybrids } from "@zilliz/milvus2-sdk-node";

datetimeToHybrids(new Date(1638957092 * 1000));

Response

//The hybrid timestamp
429642767925248000;

Parameters

ParametersDescriptionType
HybridTimestampThe hybrid timestamp, a non-negative integer ranging from 0 to 18446744073709551615.String

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?