Re: What is the binary format for timestamps?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: ljb <ljb220(at)mindspring(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: What is the binary format for timestamps?
Date: 2005-04-08 14:07:52
Message-ID: 20050408140752.GB15927@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Fri, Apr 08, 2005 at 01:02:07 +0000,
ljb <ljb220(at)mindspring(dot)com> wrote:
>
> A timestamp is returned as an 8-byte big-endian double precision number of
> seconds since POSTGRES_EPOCH_DATE.
> A time is returned as an 8-byte big-endian double precision number of
> seconds since midnight.
> POSTGRES_EPOCH_DATE is January 1, 2000 (2000-01-01).

I believe building with --enable-integer-datetimes will change this.

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Marvin Bellamy 2005-04-08 14:32:38 Re: What is the binary format for timestamps?
Previous Message anibal sardon paniagua 2005-04-08 03:53:18 Unsubscribe me please