Re: Postgres Date Type Value

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Michael Arnold <myk321(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgres Date Type Value
Date: 2022-12-18 00:24:21
Message-ID: CAKFQuwaz7duhZuwPA8JFX74tz56qR6kcF9-z=VJNTUgsTudd0Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Dec 17, 2022 at 4:55 PM Michael Arnold <myk321(at)gmail(dot)com> wrote:

> How do I interpret the 4 bytes of postgresql 'date' value?
>
See date2j and j2date in datetime.c

timestamp.h has the relevant constant Tom refers to (POSTGRES_EPOCH_JDATE)

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Arnold 2022-12-18 01:15:28 Re: Postgres Date Type Value
Previous Message Tom Lane 2022-12-18 00:20:50 Re: Postgres Date Type Value