Set your range to end yesterday?

<mx:DateField disabledRanges="{[{rangeEnd: new Date(new Date().getTime() -
86400000)}]}" />

86400000 = 1 day in ms.

Beau


On Wed, Aug 26, 2009 at 10:40 AM, markflex2007 <[email protected]>wrote:

>
>
> Hi
>
> I use the following and I can select date from tomorrow.
>
> <mx:DateField disabledRanges="{[{rangeEnd: new Date()}]}" />.
>
> But I also want to select date include today.
>
> Do you have a idea how to do this.Thanks
>
> Mark
>
>  
>



-- 
Beau D. Scott
Software Engineer

Reply via email to