sajiv
08-08-2004, 02:40 AM
Need some urgent help
my PHP file is out putting date in the format 2004,9,21 which i store as a variable. This is the last date the user can select fom the date chooser and is set by the admin in the database.
I need to set the End Range to this date and teh start date to the current date which works fine.
I tried
var lastdate = level10.ratevalid;
myDateChooser.selectableRange = {rangeStart:new Date(),
rangeEnd:lastdate}
When i trace last date i get 2004,9,21 and when i input manually using New Date(2004,9,21) the Date Chooser works. But when i use the variable the datechooser cant go forward.
Please help me
my PHP file is out putting date in the format 2004,9,21 which i store as a variable. This is the last date the user can select fom the date chooser and is set by the admin in the database.
I need to set the End Range to this date and teh start date to the current date which works fine.
I tried
var lastdate = level10.ratevalid;
myDateChooser.selectableRange = {rangeStart:new Date(),
rangeEnd:lastdate}
When i trace last date i get 2004,9,21 and when i input manually using New Date(2004,9,21) the Date Chooser works. But when i use the variable the datechooser cant go forward.
Please help me