SaaS CMS has officially launched! Learn more now.

Class DatabaseDateTimeKind

Specifies the different options for how datetimes should be persisted in the database.

Inheritance
System.Object
DatabaseDateTimeKind
Namespace: EPiServer.Data
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public sealed class DatabaseDateTimeKind : Enum

Fields

Local

Consider the time is as local (date time in the database)

Declaration
public const DatabaseDateTimeKind Local
Field Value
Type Description
DatabaseDateTimeKind

Unspecified

Consider the time represented is not specified as either local time or Coordinated Universal Time (UTC).

Declaration
public const DatabaseDateTimeKind Unspecified
Field Value
Type Description
DatabaseDateTimeKind

Utc

Consider the time is as utc (date time in the database)

Declaration
public const DatabaseDateTimeKind Utc
Field Value
Type Description
DatabaseDateTimeKind

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods