bazz
07-30-2004, 01:27 PM
HI,
I have this variable in a Javascript and I want to change it to collect the date from the server so that whenevber a user calls the script, the time is continually accurate. Since the language is client side, maybe the server time is not accessible but then I would have to use the computer time of the user.
The line of code is:
var todaysDate = "2003/04/24";
I am fed up having to change it every day :rolleyes:
Any tips welcome
Bazz
I have this variable in a Javascript and I want to change it to collect the date from the server so that whenevber a user calls the script, the time is continually accurate. Since the language is client side, maybe the server time is not accessible but then I would have to use the computer time of the user.
The line of code is:
var todaysDate = "2003/04/24";
I am fed up having to change it every day :rolleyes:
Any tips welcome
Bazz