From: | Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il> |
---|---|
To: | rick(at)ricken(dot)demon(dot)co(dot)uk, pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] Returning an integer from a date |
Date: | 1999-03-29 16:00:00 |
Message-ID: | l03110705b325274430ee@[147.233.148.145] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Stuart Rison | 1999-03-29 16:32:57 | problems with a sub-select (takes donkeys' years) |
Previous Message | Adriaan Joubert | 1999-03-29 11:22:23 | Re: [GENERAL] Returning an integer from a date |
From | Date | Subject | |
---|---|---|---|
Next Message | Jackson, DeJuan | 1999-03-29 19:20:15 | RE: [SQL] IIF.. |
Previous Message | Andrew Douglas | 1999-03-29 13:47:04 | Newbie question about datatype conversion |