Get the difference between UTC time and local time: const d = new Date(); let diff = d. ... For example, if your time zone is GMT+2, -120 will be returned.
確定! 回上一頁