A newer version of this page is available. Switch to the current version.

TimeZoneHelper.ToClientTime(DateTime) Method

Converts a DateTime value from the client time zone to the time zone of the scheduler storage (operational time zone).

Namespace: DevExpress.XtraScheduler

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

Declaration

public DateTime ToClientTime(
    DateTime dateTime
)
Public Function ToClientTime(
    dateTime As Date
) As Date

Parameters

Name Type Description
dateTime DateTime

A DateTime value in the client time zone.

Returns

Type Description
DateTime

A DateTime value in the operational time zone.

Remarks

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

See Also