SchedulerStorage.DateTimeSavingMode Property

Gets or sets in what time zone to store the appointment dates.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.1.dll

Declaration

public DateTimeSavingMode DateTimeSavingMode { get; set; }
Public Property DateTimeSavingMode As DateTimeSavingMode

Property Value

Type Description
DateTimeSavingMode

A DateTimeSavingMode enumeration member that specifies a conversion required before storing the DateTime value.

Remarks

IMPORTANT

You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

If for any reason (e.g. to simplify queries for DateTime values stored in the data source) you require that the appointment start and end data belong to the same time zone, set the DateTimeSavingMode to the DateTimeSavingMode.Storage value to store them in the timezone of the storage (specified using the SchedulerStorage.TimeZoneId property).

TIP

Use the UTC time zone for the storage and set the DateTimeSavingMode to the DateTimeSavingMode.Storage value in your applications to make the DateTime data consistent throughout different databases used in your applications.

See Also