pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ryan Bradetich <ryan_bradetich@hp.com>
To: pgsql-sql@postgresql.org
Subject: Datetime as a time_t?
Date: Thu, 06 Apr 2000 10:27:00 -0600
Message-ID: <38ECBAD4.E13DD27B@hp.com> (raw)

Hello,

Does anyone know how to extract a datetime field as a time_t?
My understanding is that PostgreSQL stores dates internally
as a time_t, but I have not figured out how to extract them in
that format.

I have looked at the casting, and the set datestyles so far.
Any ideas?

Thanks,

-Ryan

P.S. I am using PostgreSQL 6.5.3





view thread (4+ messages)  latest in thread

Message-ID: <38ECBAD4.E13DD27B@hp.com>
Permalink:  ../38ECBAD4.E13DD27B@hp.com/
Also on:    postgresql.org/message-id/38ECBAD4.E13DD27B@hp.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: ryan_bradetich@hp.com
  Subject: Re: Datetime as a time_t?
  In-Reply-To: <38ECBAD4.E13DD27B@hp.com>
  References: <38ECBAD4.E13DD27B@hp.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox