How does the conversion to UTC from the standard DateTime
format work?
More specifically, if I create a DateTime
object in one time zone an
DateTime.ToUniversalTime removes the timezone offset of the local timezone to normalize a DateTime to UTC. If you then use DateTime.ToLocalTime on the normalized value in another timezone, the timezone offset of that timezone will be added to the normalized value for correct representation in that timezone.