Switch to using int milliseconds for timestamps.