Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get current time in javascript

var d = new Date();
var n = d.toLocaleTimeString();
document.getElementById("timer").innnerHTML = n;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #time #javascript
ADD COMMENT
Topic
Name
6+4 =