Hi Pradeep,try this, selectedDate= new Date(); preDate= selectedDate['date']-1; nxtDate= selectedDate['date']+1
i hope it 'l work... On 1 April 2011 17:03, Jude pradeep Micheal <[email protected]> wrote: > Hi All, > > Please give me code snippets if you have for below case. > > I am using two date fields in a screen. In that want to use first one's > value as yesterday's date and the next one by today date in (MM/DD/YYYY) > format. > > I could able to get destination date field using selectedDate= new Date(). > How to get the previous / yesterday date in (MM/DD/YYYY). > > Please share your ideas. Thanks in advance. > > > Warm Regards > Jude > > -- > 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. > -- Regards, Ra-j-an :-) -- 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.

