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

pub fn timestamp_to_sql(v: i64, buf: &mut BytesMut)

Serializes a TIMESTAMP or TIMESTAMPTZ value.

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