Time#to_milliseconds with millisecond accuracy

`Time` stores the number of nanoseconds since the Epoch.
`Time#to_milliseconds` should return the number of milliseconds since the
Epoch with a millisecond accuracy.