Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

time zone browser javascript

fetch("https://worldtimeapi.org/api/ip")
  .then(response => response.json())
  .then(data => console.log(data.timezone,data.datetime,data.dst));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #time #zone #browser #javascript
ADD COMMENT
Topic
Name
1+7 =