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
- Mappings between TDS and and Chrono types (with
chrono
feature flag enabled).
Structs
- A presentation of
date
type in the server. - A presentation of
datetime
type in the server. - A presentation of
datetime2
type in the server. - A presentation of
datetimeoffset
type in the server. - A presentation of
smalldatetime
type in the server. - A presentation of
time
type in the server.