in reply to figuring difference in times?
I recommend taking a look at DateTime. A local tutorial may be found here: Getting started with DateTime, and there is also a DateTime FAQ.
HTH,