From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: rick@ricken.demon.co.uk
To: pgsql-general@postgreSQL.org
Subject: Re: [GENERAL] Returning an integer from a date
Date: Mon, 29 Mar 1999 18:00:00 +0200
Message-ID: <l03110705b325274430ee@[147.233.148.145]> (raw)
In-Reply-To: <36FF5B39.52CB4137@gameszone.net>
At 12:51 +0200 on 29/03/1999, Rick Dearman wrote:
>
> I have a date field in a table, I want to create a function to
>manipulate this date, however I want the date to come to me as an integer.
>
> Is this possible? Or do I have to get it as a char *string??
What kind of an integer do you need? You could have the "milliseconds since
epoch" kind of number quite easily. Or do you need a number such as
19990301?
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma
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: herouth@oumail.openu.ac.il, rick@ricken.demon.co.uk, pgsql-general@postgreSQL.org
Subject: Re: [GENERAL] Returning an integer from a date
In-Reply-To: <l03110705b325274430ee@[147.233.148.145]>
References: <36FF5B39.52CB4137@gameszone.net> <l03110705b325274430ee@[147.233.148.145]>
* 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