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