DateTimeInstanceToTimeZone Method

This converts the date/time info to the specified time zone

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public void ToTimeZone(
	string tzid
)

Parameters

tzid  String
The time zone to which to convert this instance

Remarks

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.

See Also