The Fauna service will be ending on May 30, 2025.

For more information on the service wind down, see our announcement and the Fauna Service End-of-Life FAQ.

time.toMillis()

Convert a Time to a Unix epoch timestamp in milliseconds.

Signature

toMillis() => Number

Description

Convert a Time to a Unix epoch timestamp in milliseconds.

Parameters

None

Return value

Type Description

Number

Unix epoch timestamp in milliseconds.

Examples

Time("2099-02-10T12:01:19.000Z").toMillis()
4074408079000
\