Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
54
rated 0 times [  56] [ 2]  / answers: 1 / hits: 22563  / 12 Years ago, mon, november 5, 2012, 12:00:00

Possible Duplicate:

How to get current date in JavaScript






How can i Get the time out of my browser whit using javascript?
This do I need to make a comparison in my script.


More From » browser

 Answers
114
currentTime = new Date();
time = currentTime.getTime();
hours = currentTime.getHours();


etc


[#82187] Saturday, November 3, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
minab

Total Points: 701
Total Questions: 104
Total Answers: 91

Location: Saint Pierre and Miquelon
Member since Fri, Jan 28, 2022
2 Years ago
;