What is the best way to convert the local time to UTC? Accounting for Daylight Savings, etc whenever it is in effect.

And vice versa...