Convert milliseconds to date or date to milliseconds. Check the current time in ms since the epoch (UNIX timestamp). Compare local time with UTC time.