TimeZoneHelper.FromAppointmentTime(DateTime, String) Method

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

Namespace: DevExpress.XtraScheduler

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


public DateTime FromAppointmentTime(
    DateTime dateTime,
    string appointmentTimeZoneId
Public Function FromAppointmentTime(
    dateTime As Date,
    appointmentTimeZoneId As String
) As Date


Name Type Description
dateTime DateTime

A DateTime value in the appointment time zone.

appointmentTimeZoneId String

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


Type Description

A DateTime value in the operational time zone.


The operational time zone (time zone of the scheduler storage) is specified by the SchedulerStorageBase.TimeZoneId property. The appointment time zone is specified using the Appointment.TimeZoneId property.

See Also