Re: [NOVICE] (Fwd) Hi and some advice on Dates

From: "Andrew Mather (Powered By Linux)" <mathera(at)woody(dot)agvic(dot)gov(dot)au>
To: "W(dot)H(dot) Dekker" <wybo(at)servaly(dot)hobby(dot)nl>
Cc: pgsql-novice(at)postgreSQL(dot)org, pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [NOVICE] (Fwd) Hi and some advice on Dates
Date: 1998-11-09 10:25:52
Message-ID: 1060F7470AD4@woody.agvic.gov.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)woody(dot)agvic(dot)gov(dot)au / amsm(at)deakin(dot)edu(dot)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

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bob Kruger 1998-11-09 17:09:08 Incrementing a Serial Fields
Previous Message Fabio Mancinelli 1998-11-09 09:49:36 Re: [SQL] Foreign Key ??