pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pierre@kahuna.versions.com
To: pgsql-sql@postgresql.org
Subject: timestamp conversion to unisgned long?
Date: 22 Jun 2001 11:08:01 -0700
Message-ID: <20010622180801.18977.qmail@kahuna.versions.com> (raw)

All,
  Perhaps I'm not sing hte correct datatype, but I'd like to be able to convert 
a timestamp over to an unsigned long to be used within C code and compare
to the output of time().

 I can't seem to see any easy way of doing this using the built in
stuff for postgresql.

  Ideas?

  Perhaps I'm using the wrong type?

 Pierre



view thread (3+ messages)  latest in thread

Message-ID: <20010622180801.18977.qmail@kahuna.versions.com>
Permalink:  ../20010622180801.18977.qmail@kahuna.versions.com/
Also on:    postgresql.org/message-id/20010622180801.18977.qmail@kahuna.versions.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pierre@kahuna.versions.com
  Subject: Re: timestamp conversion to unisgned long?
  In-Reply-To: <20010622180801.18977.qmail@kahuna.versions.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