pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cal McPherson <calm@adtec.com.au>
To: 'pgsql-interfaces@postgresql.org' <pgsql-interfaces@postgresql.org>
Subject: inserting time_t into timestamp field(C language)
Date: Wed, 17 Mar 2004 11:29:10 +1100
Message-ID: <65ED19764468D411A6AF006094EA0F3B275D73@SERVER> (raw)

What is the most efficient way to convert a time_t struct so that I can
insert it into a timestamp field.

Cal McPherson
Software Engineer
ADTEC Communications
Phone: +612 9213 9917 Fax: +612 9281 7575
Email: calm@adtec.com.au
Web: www.adtec.com.au




view thread (2+ messages)  latest in thread

Message-ID: <65ED19764468D411A6AF006094EA0F3B275D73@SERVER>
Permalink:  ../65ED19764468D411A6AF006094EA0F3B275D73@SERVER/
Also on:    postgresql.org/message-id/65ED19764468D411A6AF006094EA0F3B275D73@SERVER

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: calm@adtec.com.au
  Subject: Re: inserting time_t into timestamp field(C language)
  In-Reply-To: <65ED19764468D411A6AF006094EA0F3B275D73@SERVER>

* 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