switches time resolution from nanoseconds to milliseconds