TimeZoneInfo « Date Time « C# / C Sharp
C# / C Sharp
Collections Data Structure
GUI Windows Form
Windows Presentation Foundation
C# / C Sharp
The Id property corresponds to the value passed to FindSystemTimeZoneById.
The TimeZoneInfo class works in a similar manner. TimeZoneInfo.Local returns the current local time zone:
TimeZoneInfo also provides IsDaylightSavingTime and GetUtcOffset methods--the difference is that they accept either a DateTime or DateTimeOffset.
Week refers to the week of the month, with "5" meaning the last week.
Gets the time difference between the current time zone's standard time and Coordinated Universal Time (UTC).
Converts a time to the time in a particular time zone.
Converts a time from one time zone to another.
Converts a time from one time zone to another based on time zone identifiers.
Converts a Coordinated Universal Time (UTC) to the time in a specified time zone.
Converts the current date and time to Coordinated Universal Time (UTC).
Converts time in a specified time zone to Coordinated Universal Time (UTC).
Gets the localized general display name that represents the time zone.
Determines whether the current TimeZoneInfo object and another TimeZoneInfo object are equal.
Retrieves a TimeZoneInfo object from the registry based on its identifier.
Gets the time zone identifier.
whether a date and time in a time zone is ambiguous and can be mapped to two or more Coordinated Universal Time (UTC) times.
Whether a date and time falls in the range of daylight saving time
Gets a TimeZoneInfo object that represents the local time zone.
Get TimeZone Id, Display name, Standard name, and Daylight Name
Gets the localized display name for the time zone's standard time.
Gets a value indicating whether the time zone has any daylight saving time rules.
Gets a TimeZoneInfo object that represents the Coordinated Universal Time (UTC) zone.
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.