monitor the time in milliseconds