Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get current time

let today = new Date();
let time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds();
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #current #time
ADD COMMENT
Topic
Name
9+5 =