It's funny, I was looking for such functions today... Here is an AS implementation equivalent to the ColdFusion dateAdd and dateDiff functions! http://jeff.mxdj.com/dateadd_for_actionscript.htm
Benoit Hediard -----Message d'origine----- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Ryan Pieszak Envoyé : mercredi 12 avril 2006 19:58 À : flexcoders@yahoogroups.com Objet : [flexcoders] Beta2 - Date manipulation functions? Hey all, Are there any date manipulation functions in Flex / ActionScript? I need a DateDiff function that will find the difference between two dates in hours, and also a DateAdd function that will add hours to a date. I can't find anything on this, do such beasts exist? Thanks. Ryan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/