Hello var MILLISECONDS_PER_DAY : Number = 1000 * 60 * 60 * 24; var currentDate : Date = new Date(); // in youe case it's given date var time : Number = currentDate.getTime() - MILLISECONDS_PER_DAY; var newDate : Date = new Date(time); // require Output
let me know if you need more information Thanks Virat On Apr 28, 11:07 am, krishna <[email protected]> wrote: > hi, > i need code for subtracting one day from a given date. ie; > (givendate-1). > ex 09/nov/1982(given date) in need to display 08/nov/1982. can some > body help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

