DateTimeKindAttribute constructor

namespace: Serenity.Data   assemblySerenity.Net.Services

Determines Time kind for a DateTime field.

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.

Remarks

Initializes a new instance of the DateTimeKindAttribute class.

See Also