pub fn date_to_sql(v: i32, buf: &mut BytesMut)
Serializes a DATE value.
DATE
The value should represent the number of days since January 1st, 2000.