Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The TimeZone and
TimeZoneInfo classes provide
information on time zone names, UTC offsets, and daylight saving time
rules. TimeZoneInfo is the more
powerful of the two and was introduced in Framework 3.5.
The biggest difference between the two types is that TimeZone lets you access only the current
local time zone, whereas TimeZoneInfo
provides access to all the world’s time zones. Further, TimeZoneInfo exposes a richer (although at
times, more awkward) rules-based model for describing daylight saving
time.