date.getFullYear().toString() + '/' + (date.getMonth()+1).toString() + '/' + date.getDate();
see tour de flex example Prajnith On Sat, Jan 9, 2010 at 1:07 PM, sravan kumar <[email protected]> wrote: > Hi, > > Months always start from 0 and ends with 11 only for datefield. Simply you > need to add one to get the actual number. > > E.g : if you get 2 then add 2+1 then it is March > > On Fri, Jan 8, 2010 at 12:54 PM, Raghu <[email protected]>wrote: > >> Hi all, >> >> I am getting the selected date from the mx:DateField . I >> am getting correct Date and Year . but Month i am getting Zero. I >> tested it and i found... >> >> for Jan 0, feb 1, march 2 like this it gives and dec again it gives >> 0. >> >> It was working for me previously but suddenly i got this problem . >> >> can anyone help me please. >> >> Thanks in advance, >> Raghunathan M >> >> -- >> 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]<flex_india%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> >> >> >> > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > >--
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.

