LOCAL: fix time in milliseconds