Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / CalendarHelper Class / DateTimeKind Property

In This Topic
    DateTimeKind Property (CalendarHelper)
    In This Topic
    Gets or sets a CalendarHelper.DateTimeKind value specifying DateTime kind used for saving System.DateTime values.
    Syntax
    'Declaration
     
    
    Public Property DateTimeKind As DateTimeKind
    public DateTimeKind DateTimeKind {get; set;}
    Remarks
    This property only has an influence on the process of saving data to the AppointmentStorage.DataSource object and on export operations. All properties of the C1.Schedule.Appointment and C1.Schedule.RecurrencePattern objects represent current system local time values. Set this property to DateTimeLind.Utc if you need to save data with universal time. In such case the data will be converted to the local time and back at every read/write operation.
    See Also