Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to see my timezone using js

document.getElementById("time").innerHTML = Date().slice(Date().indexOf("(")+1,Date().lastIndexOf(")"));
Source by stackblitz.com #
 
PREVIOUS NEXT
Tagged: #timezone #js
ADD COMMENT
Topic
Name
8+2 =