From: Andrew Mather (Powered By Linux) <mathera@woody.agvic.gov.au>
To: W.H. Dekker <wybo@servaly.hobby.nl>
Cc: pgsql-novice@postgreSQL.org
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [NOVICE] (Fwd) Hi and some advice on Dates
Date: Mon, 9 Nov 1998 10:25:52 +0000
Message-ID: <1060F7470AD4@woody.agvic.gov.au> (raw)
In-Reply-To: <199811081036.LAA00206@servaly.hobby.nl>
References: <104E3CB13D06@woody.agvic.gov.au>
G'day ,
Thanks for your reply.
> > How to query a table and look for any records where
> > the value in a date field is greater than (say) 10 days ago
> >
> > Calculate the difference between two times on the same day. (I have
> > experimented with age() and it sort of does wht I want..is there any
> > other way ?)
>
> Use Perl as a database interface and have a look at de Perl module
> Date::Manip. It has all you need, and more.
>
Will have a look ! I am using perl for an interface to this db
anyway. I didn't realise there was a date module !
Andrew
--------------------------------------------------------
Andrew Mather: System Administrator, VIAS
mathera@woody.agvic.gov.au / amsm@deakin.edu.au
http://www.deakin.edu.au/~amsm/index.html
Ph: 03 92174342 (BH), Mob 0413 009 761
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
NEWS! Police begin campaign to run down jaywalkers
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-
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: mathera@woody.agvic.gov.au, wybo@servaly.hobby.nl, pgsql-novice@postgreSQL.org
Subject: Re: [NOVICE] (Fwd) Hi and some advice on Dates
In-Reply-To: <1060F7470AD4@woody.agvic.gov.au>
References: <104E3CB13D06@woody.agvic.gov.au> <1060F7470AD4@woody.agvic.gov.au>
* 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