Describes the serialization format for DateTime columns in a DataSet.
Namespace: CNClrLib.ADONet.Enums
Delphi
|
type
TDataSetDateTime = CNClrLib.EnumTypes.TDataSetDateTime;
|
|
Name
|
Description
|

|
dsdtLocal
|
DateTime is always stored in Local. If Utc or Unspecified is assigned to a column in this mode, it is first converted into Local. Serialization in this mode is always performed in Local. There is an offset during serialization.
|

|
dsdtUnspecified
|
DateTime is always stored in Unspecified. If Local or Utc is assigned to a column in this mode, it is first converted into Unspecified. Serialization in this mode does not cause an offset.
|

|
dsdtUnspecifiedLocal
|
DateTime is stored in Unspecified. If Local or Utc is assigned to a column in this mode, it is first converted into Unspecified. Serialization in this mode causes offset. This is the default behavior and is backward compatible. This option should be thought of as being Unspecified in storage but applying an offset that is similar to Local during serialization.
|

|
dsdtUtc
|
DateTime is stored in Universal Coordinated Time (UTC). If Local or Unspecified is assigned to a column in this mode, it is first converted into Utc format. Serialization in this mode is always performed in Utc. There is no offset during serialization.
|
Top
|