📜  如何在javascript代码示例中获取gmt时间

📅  最后修改于: 2022-03-11 15:03:08.693000             🧑  作者: Mango

代码示例1
var currentDate = new Date()
  var noSeconds = currentDate.getSeconds()
  var noMinutes = currentDate.getMinutes()
  var noHours = currentDate.getHours()