TimeZoneHelper.ToAppointmentTime(DateTime, String) Method
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.1.Core.dll
NuGet Package: DevExpress.Scheduler.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
dateTime | DateTime | A DateTime value in the operational 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 appointment 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