Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / C1.Schedule Namespace / CalendarInfo Class / DateTimeKind Property

In This Topic
    DateTimeKind Property (CalendarInfo)
    In This Topic
    Gets or sets DateTimeKind specifying DateTime kind used for saving System.DateTime values.
    Syntax
    'Declaration
     
    Public Property DateTimeKind As System.DateTimeKind
    public System.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