Function postgres_protocol::types::timestamp_from_sql
[−]
[src]
pub fn timestamp_from_sql(buf: &[u8]) -> Result<i64, Box<Error + Sync + Send>>
Deserializes a TIMESTAMP
or TIMESTAMPTZ
value.
The value represents the number of microseconds since midnight, January 1st, 2000.