Expand description
Date and time handling.
When using the tds73
feature flag together with SQL Server 2008 or later,
the following time
mappings to and from the database are available:
Time
->Time
Date
->Date
DateTime
->PrimitiveDateTime
DateTime2
->PrimitiveDateTime
SmallDateTime
->PrimitiveDateTime
DateTimeOffset
->OffsetDateTime
With SQL Server 2005 and the tds73
feature flag disabled, the mapping is
different:
DateTime
->PrimitiveDateTime
SmallDateTime
->PrimitiveDateTime
Modules§
- chrono
- Mappings between TDS and and Chrono types (with
chrono
feature flag enabled).
Structs§
- Date
- A presentation of
date
type in the server. - Date
Time - A presentation of
datetime
type in the server. - Date
Time2 - A presentation of
datetime2
type in the server. - Date
Time Offset - A presentation of
datetimeoffset
type in the server. - Small
Date Time - A presentation of
smalldatetime
type in the server. - Time
- A presentation of
time
type in the server.