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

inserting time_t into timestamp field(C language)

From: Cal McPherson <calm(at)adtec(dot)com(dot)au>
To: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: inserting time_t into timestamp field(C language)
Date: 2004-03-17 00:29:10
Message-ID: 65ED19764468D411A6AF006094EA0F3B275D73@SERVER (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
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(at)adtec(dot)com(dot)au


pgsql-interfaces by date

Next:From: Jonathan GardnerDate: 2004-03-17 01:43:17
Subject: Extending PlPythonU
Previous:From: Tom LaneDate: 2004-03-16 15:40:52
Subject: Re: DataType OID for PQexecParams-call in libpq

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