+ 1
How do u display the date on the screen?
2 Respuestas
+ 4
Instantiate a Date object
And then you can call several methods, to get minutes, seconds, hours, month from this date
var now = new Date();
alert(" "+now.getHours()+" : "+now.getMinutes()+" "); //opens popup with current time
+ 1
ok thx