time.toMillis()

Convert a Time to epoch milliseconds.

Signature

toMillis() => Number

Description

Convert a Time to epoch milliseconds.

Parameters

None

Return value

Type Description

Number

Epoch milliseconds.

Examples

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

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!