TimeZoneHelper.ToAppointmentTime(DateTime, String) Method
In This Article
Converts a DateTime value from the operational time zone (the time zone of the scheduler storage) to the time zone of the appointment.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
date |
Date |
A Date |
appointment |
String | A string that specifies the appointment time zone. The string must be one of the available System. |
#Returns
Type | Description |
---|---|
Date |
A Date |
#Remarks
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