Use a global clock and milliseconds type.