Thanks, Nick.
I've actually gotten a little further than that. For example, there's a
ToUniversalTime method on the DateTime class which would do the trick if I
could tell it what time zone to use. Unfortunately, it just seems to assume
it is the local machine's time zone.
There is a TimeZone class, but I cannot figure out how to create an instance
based on a time zone other than the local machine's.
For instance, if I could write something like:
myDateTime.TimeZone = "CET"; //central european time
myDateTime = myDateTime.ToUniversalTime;
I'd be golden. But this is not how the stuff works apparently.
Based on the examples in MSDN and elsewhere, I can convert from my local
time to UTC and back to my heart's content, but converting Bangkok time to
UTC is not well covered.
Thanks for pitching in.