[][src]Module tiberius::time

Date and time handling.

When using the tds73 together with the chrono extension, the following chrono mappings to and from the database are available:

  • crate::time::Time -> chrono::NaiveTime
  • crate::time::Date -> chrono::NaiveDate
  • crate::time::DateTime -> chrono::NaiveDateTime
  • crate::time::DateTime2 -> chrono::NaiveDateTime
  • crate::time::SmallDateTime -> chrono::NaiveDateTime
  • crate::time::DateTimeOffset -> chrono::DateTime<Tz>

Structs

Date

A presentation of date type in the server.

DateTime

A presentation of datetime type in the server.

DateTime2

A presentation of datetime2 type in the server.

DateTimeOffset

A presentation of datetimeoffset type in the server.

SmallDateTime

A presentation of smalldatetime type in the server.

Time

A presentation of time type in the server.