Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get current time with hours and minutes

var today = new Date();
var time = today.getHours() + ":" + today.getMinutes() ;
var dateTime = date+' '+time;
 
PREVIOUS NEXT
Tagged: #javascript #current #time #hours #minutes
ADD COMMENT
Topic
Name
5+1 =