Did "yesterday" have the correct value at the time it was plugged into
the range?

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of David C. Moody
Sent: Tuesday, May 20, 2008 12:41 PM
To: [email protected]
Subject: [flexcoders] DateField disabledRanges



I'm trying to set a DateField's disabledRanges to yesterday and 
before.

Everything I have tried will not do this, I can disabled today and 
before but I need to include today.

Does anyone have any ideas?

here's all I've tried:

Assign yesterday's date to a yesterday variable.

disabledRanges="{[{rangeEnd: yesterday }]}"
(disables today and before, yesterday does have correct date)

disabledRanges="{[{rangeEnd new Date.setTime(new Date().getTime() - 
(1*millisecondsPerDay)) }]}"
(all days are enabled)

Any help would be greatly appreciated.

-David



 

Reply via email to