Hi,
I am using DateField as an itemrenderer and the following code:-

                    ds= "Thu Oct 30 12:00:00 GMT+0530 2008";
                    var dt:Date = new Date();

                    try{
                        dt = DateField.stringToDate(ds, "MM/DD/YY");
                    }catch(e:Error){
                        //
                        return;
                    }
                    this.selectedDate=dt;

i am getting dt=null; always.
Is there anything wrong with the code.Any other way to do the same?Plz
share.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to