Page 1 of 1

Time

Posted: Tue Apr 29, 2014 12:57 pm
by Johnny6773854

Hi

I have an input box that is type "Time".
How can I set the default value or local time on app start up?

Must I use:
var d = new Date();
var t = d.getTime();


Time

Posted: Tue Apr 29, 2014 5:12 pm
by Maryna Brodina

Hello!

Use dateObj.toTimeString(): method. Here is more information https://developer.mozilla.org/en-US/d...


Time

Posted: Wed Apr 30, 2014 5:39 am
by Johnny6773854

Thank you