ActionScript 3.0 + Calculate timespan between two dates?
I created an ActionScript TimeSpan class with a similar API to System.TimeSpan to fill that void, but there are differences due to the lack of operator overloading. You can use it like so: TimeSpan.fromDates(later, earlier).totalDays; Below is the code for the class (sorry for the big post – I won’t include the Unit Tests 😉 … Read more