Gets or sets DateTimeKind specifying DateTime kind
used for saving DateTime values.
Namespace:
C1.C1ScheduleAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
C# |
---|
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] [DefaultValueAttribute(DateTimeKind.Unspecified)] public DateTimeKind DateTimeKind { get; set; } |
Visual Basic |
---|
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _ <DefaultValueAttribute(DateTimeKind.Unspecified)> _ Public Property DateTimeKind As 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.