Skip to main content

encode_datetime_legacy

Function encode_datetime_legacy 

Source
pub fn encode_datetime_legacy(dt: NaiveDateTime, buf: &mut BytesMut)
Expand description

Encode a DATETIME value (8 bytes): days since 1900 (i32 LE) + time units since midnight (u32 LE) where each unit is 1/300 of a second.