toMilliseconds
Convert to milliseconds,
Java time uses millisecond precision so the returned value is rounded to the nearest millisecond. Rounding errors may occur when comparing this value to event timestamps.
Return
Time as number of milliseconds since the Epoch.