Home > @firebase/firestore > / > Timestamp > toMillis
Timestamp.toMillis() method
Converts a Timestamp
to a numeric timestamp (in milliseconds since epoch). This operation causes a loss of precision.
Signature:
toMillis(): number;
Returns:
number
The point in time corresponding to this timestamp, represented as the number of milliseconds since Unix epoch 1970-01-01T00:00:00Z.