milvus-logo
LFAI
< Docs
  • Node
    • Utils

hybridtsToUnixtime()

This method converts a hybrid timestamp to UNIX Epoch time despite the timing logic.

Invocation

hybridtsToUnixtime(unixTime);

Parameter

ParameterDescriptionTypeRequired
unixTimeUnix Epoch time, the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).StringTrue

Example

hybridtsToUnixtime("429642767925248000");

Return

// The UNIX Epoch time
1638957092
Feedback

Was this page helpful?