DateTimeKindAttribute constructor

namespace: Serenity.Data   assemblySerenity.Net.Data

Initializes a new instance of the DateTimeKindAttribute class.

public DateTimeKindAttribute(DateTimeKind value)
parameter description
value The value. If Unspecified, it means this is a DateTime field but no time zone conversions should be done. Local means dates should be converted to server local time. Utc means dates should be converted to UTC timezone.

See Also