Getting current date in milliseconds (UTC) (NO use of strings)
问题 Well, you might think that this question has already been asked, but I think it has not. The solutions I've read about all had this "jigsaw puzzle" technique (like getUTCMonth() + getUTCMinutes + ... ). But as I only want to compare the elapsed seconds between two UTC (!) dates, this does not apply. As everybody knows, you can get the current (non-UTC) date by: var d = new Date(); var t_millis = d.getTime(); But this is NOT what I want. I'd like to have the current system date in UTC and in