[][src]Function postgres_protocol::types::date_from_sql

pub fn date_from_sql(buf: &[u8]) -> Result<i32, StdBox<dyn Error + Sync + Send>>

Deserializes a DATE value.

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