toMicros()

Convert a Time to epoch microseconds.

Signature

toMicros(): Number

Description

Convert a Time to epoch microseconds.

Parameters

None

Return value

Type Description

Number

Epoch microseconds.

Examples

Time('2023-02-10T12:01:19.000Z').toMicros()
1676030479000000

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!