Type: Posts; User: Norm
Look at the Calendar class. It has lots of methods for working with dates. Also look at the DateFormat class