Function postgres_protocol::types::timestamp_to_sql [] [src]

pub fn timestamp_to_sql(v: i64, buf: &mut Vec<u8>)

Serializes a TIMESTAMP or TIMESTAMPTZ value.

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