Get a UTC timestamp [duplicate]

new Date().getTime();

For more information, see @James McMahon’s answer.

Leave a Comment