Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TimeZoneInfo::CreateCustomTimeZone Method

 

Defines a time zone that is not found on the local computer.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateCustomTimeZone(String^, TimeSpan, String^, String^)

Creates a custom time zone with a specified identifier, an offset from Coordinated Universal Time (UTC), a display name, and a standard time display name.

System_CAPS_pubmethodSystem_CAPS_staticCreateCustomTimeZone(String^, TimeSpan, String^, String^, String^, array<TimeZoneInfo::AdjustmentRule^>^)

Creates a custom time zone with a specified identifier, an offset from Coordinated Universal Time (UTC), a display name, a standard time name, a daylight saving time name, and daylight saving time rules.

System_CAPS_pubmethodSystem_CAPS_staticCreateCustomTimeZone(String^, TimeSpan, String^, String^, String^, array<TimeZoneInfo::AdjustmentRule^>^, Boolean)

Creates a custom time zone with a specified identifier, an offset from Coordinated Universal Time (UTC), a display name, a standard time name, a daylight saving time name, daylight saving time rules, and a value that indicates whether the returned object reflects daylight saving time information.

Return to top
Show:
© 2017 Microsoft