Current time in HH:MM format
Posted: Wed Sep 15, 2010 4:31 am
How can I get the current time in HH:MM format?
Or what have I done wrong in this code:
var currentTime = new Date();
var timenow = currentTime.format("HH:MM");
Or what have I done wrong in this code:
var currentTime = new Date();
var timenow = currentTime.format("HH:MM");