Gets or sets DateTimeKind specifying DateTime kind used for saving DateTime values.

Namespace:  C1.C1Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
[DefaultValueAttribute(DateTimeKind.Unspecified)]
public DateTimeKind DateTimeKind { get; set; }
Visual Basic
<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.

See Also