View Full Version : which javascript version TODAY to take?

10-15-2003, 12:06 PM
Dear all,

I want to retrieve the number of each day of the week
(ex:monday = 1).

For that I need to use (javascript 1.0) getday()
or (javascript 1.2) getUTCday()

I took the javascript 1.2 option, but
can you be sure that all users have that version?

I don't think that version 1.2 is backwards compatable with 1.0, so which version do I need to take to be sure.

Or do I need to check on the clientpc which version they have. (if so, a little starting-script would be nice)