Struct tiberius::ty::DateTime [] [src]

pub struct DateTime {
    pub days: i32,
    pub seconds_fragments: u32,
}

Warning

It isn't recommended to use this If you want to deal with date types, use the chrono feature of this crate instead!

This is merely exported not to limit flexibility

Fields

Days since 1.1.1900 (including the negative range until 1.1.1753)

1/300 of a second, so a value of 300 equals 1 second [since 12 AM]

Trait Implementations

impl Copy for DateTime
[src]

impl Clone for DateTime
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DateTime
[src]

Formats the value using the given formatter.

impl Eq for DateTime
[src]

impl PartialEq for DateTime
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.