This member is for System Use Only and should NOT be used.
Obsolete. Use TimeZoneUtilities.ConvertUtcToTimeZoneDateTime instead.
Converts a UTC DateTime to a DateTime in the specified Time Zone (or local time zone if not specified).

The Date Kind of originalDate is very important and determines how the conversion is done - generally this would be Unspecified.

Syntax

ISTimeZones.ConvertUtcDateToDate(originalUtcDate, timeZoneDate, [timeZoneId])

Parameters

NameTypeOptionalByRefDescription
originalUtcDate Date The original UTC DateTime to convert. Date Kind must be UTC.
timeZoneDate Date ByRef The converted DateTime. The Date Kind will always be Unspecified.
timeZoneId String Optional Optional time zone to convert to. This may be either the Time Zone Key or the Windows Id. If blank converts to local time.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISTimeZones
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0