TimeZoneHelper.FromOperationTime(DateTime, String) Method

Converts a DateTime value from the operational time zone to the specified time zone.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.Core.dll


public override DateTime FromOperationTime(
    DateTime dateTime,
    string tzId
Public Overrides Function FromOperationTime(
    dateTime As Date,
    tzId As String
) As Date


Name Type Description
dateTime DateTime

A DateTime value in the operational time zone.

tzId String

A string that specifies the destination time zone. The string must be one of the available System.TimeZoneInfo.Id values.


Type Description

A DateTime value in the specified time zone.


The time zone of the scheduler storage is specified by the SchedulerStorageBase.TimeZoneId property.

See Also