📜  时区浏览器javascript代码示例

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

代码示例1
fetch("https://worldtimeapi.org/api/ip")
  .then(response => response.json())
  .then(data => console.log(data.timezone,data.datetime,data.dst));