toMilliseconds

.toMilliseconds()

Returns the time of this object, since 1st January 1970, in milliseconds.

If the current time is before that date, then this will return a negative number.

See also

milliseconds