Date Time Instance CollectionTo Time Zone Method
This converts all date/time instances 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 the instances
Remarks
This converts the date time instances from their current time zone identified by their
TimeZoneId property to the specified time zone. The time zone ID
property will be set to the specified time zone in each one after conversion.