Date Time InstanceTo Time Zone 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: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public void ToTimeZone(
string? tzid
)VB
Public Sub ToTimeZone (
tzid As String
)C++
public:
void ToTimeZone(
String^ tzid
)F#
member ToTimeZone :
tzid : string -> unit 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.