DateTimeInstanceToTimeZone Method
This converts the date/time info to the specified time zone
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public void ToTimeZone(
string tzid
)
Public Sub ToTimeZone (
tzid As String
)
public:
void ToTimeZone(
String^ tzid
)
member ToTimeZone :
tzid : string -> unit
Parameters
- tzid String
- The time zone to which to convert this instance
This converts the date time instance information from its current time zone identified by
the
TimeZoneId property to the specified time zone. The time zone ID property will be
set to the specified time zone after conversion.