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.v24.1.Core.dll
NuGet Package: DevExpress.Scheduler.Core
Declaration
Parameters
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. |
Returns
Type | Description |
---|---|
DateTime | A DateTime value in the operational time zone. |
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