Get a UTC timestamp [duplicate] September 29, 2022 by Tarik new Date().getTime(); For more information, see @James McMahon’s answer.