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

TimeZoneHelper.FromClientTime(TimeInterval, String) Method

Converts a time interval from the client time zone to the specified time zone.

Namespace: DevExpress.XtraScheduler

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


public TimeInterval FromClientTime(
    TimeInterval sourceTimeInterval,
    string targetTimeZoneId
Public Function FromClientTime(
    sourceTimeInterval As TimeInterval,
    targetTimeZoneId As String
) As TimeInterval


Name Type Description
sourceTimeInterval TimeInterval

A TimeInterval in the client time zone.

targetTimeZoneId String

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


Type Description

The TimeInterval in the specified time zone.

See Also