--- In flexcoders@yahoogroups.com, "Mark" <[EMAIL PROTECTED]> wrote: > > I'm getting dates in my XML formatted like this: > > 2008/12/20 > > In some cases in my Flex app I need to add 1 day to that date. What > is the best way to do that? Right now I'm working it out this way: > > s = chartDates.getItemAt(0).globalDeadline; > a = s.split("/"); > newDate = a[0]+"/"+a[1]+"/"+(Number(a[2])+1); > > But I'm pretty sure this isn't right. > > Can someone help out with the code? > > Thanks > -M >
- [flexcoders] What is the best way to add a day to a date? Mark
- [flexcoders] Re: What is the best way to add a day to a d... rmarples
- [flexcoders] Re: What is the best way to add a day to a d... rmarples
- RE: [flexcoders] What is the best way to add a day to a d... Kevin Aebig