Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group