pub fn date_to_sql(v: i32, buf: &mut BytesMut)
Expand description

Serializes a DATE value.

The value should represent the number of days since January 1st, 2000.