VCalendarTimeZoneTimeInfo Method

This method can be called to get daylight saving time and time zone name information for a specified date/time.

Definition

Namespace: EWSoftware.PDI.Objects
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static DateTimeInstance TimeZoneTimeInfo(
	DateTime infoDate,
	string timeZoneId
)

Parameters

infoDate  DateTime
The time zone date/time for which to get information.
timeZoneId  String
The time zone ID of a time zone definition in the TimeZones collection.

Return Value

DateTimeInstance
The date/time information if the specified time zone is found in the collection or the unmodified date/time information if it cannot be found.

Remarks

For this method, the end date/time information in the returned object is the same as the start date/time information and it has a zero length duration.

See Also