The intention of this question is to gather solutions to date / time calculation using the built in Date class instead of writing long complicated functions.
I’ll write some answers myself, and accept an answer if anyone comes up with something very clever. But this is mostly meant as a collection of solutions, since I often see overly complicated code for handling dates.
Please remember this is not for long solutions for things the Date class can not do.
A good place to start is the reference found here: http://help.adobe.com/en_US/AS3LCR/Flash_10.0/Date.html