pub fn date_from_sql(buf: &[u8]) -> Result<i32, Box<dyn Error + Sync + Send>>
Deserializes a DATE value.
DATE
The value represents the number of days since January 1st, 2000.