Page 1 of 1

Current time in HH:MM format

Posted: Wed Sep 15, 2010 4:31 am
by klevis miho
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");

Re: Current time in HH:MM format

Posted: Sun Sep 19, 2010 7:30 pm
by Jonah Bron
Perhaps you could look it up?