Adjust rtc cycles to milliseconds