Scheduler for WPF and Silverlight | ComponentOne
C1.C1Schedule Namespace / CalendarInfo Class / DateTimeKind Property

In This Topic
    DateTimeKind Property (CalendarInfo)
    In This Topic
    Gets or sets CalendarInfo.DateTimeKind 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 have an influence on the process of saving data to the AppointmentStorage.DataSource object and on export operations. All properties of the Appointment and 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