From: Martin Marques <martin@bugs.unl.edu.ar>
To: Dana Hudes <dhudes@tcp-ip.info>
To: pgsql-sql@postgresql.org
Subject: Re: inverse of "day of year"
Date: Tue, 23 Mar 2004 11:04:12 -0300
Message-ID: <200403231104.12552.martin@bugs.unl.edu.ar> (raw)
In-Reply-To: <Pine.LNX.4.58.0403221053390.12040@screamer.tcp-ip.info>
References: <200403190906.17641.martin@bugs.unl.edu.ar>
<20040322151810.GB2962@wolff.to>
<Pine.LNX.4.58.0403221053390.12040@screamer.tcp-ip.info>
El Lun 22 Mar 2004 12:56, Dana Hudes escribió:
> If you have the option to handle the date manipulation in Perl
> use the DateTime modules. Also see Date::Calc.
NO!
Actualy what I'm doing is getting out of that (I'm using PHP's PEAR
Date::Calc) by creating some nice SQL and PL/PgSQL functions in the DB
server.
--
11:01:02 up 14 days, 15:32, 4 users, load average: 1.48, 1.11, 0.72
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------
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: martin@bugs.unl.edu.ar, dhudes@tcp-ip.info
Subject: Re: inverse of "day of year"
In-Reply-To: <200403231104.12552.martin@bugs.unl.edu.ar>
* 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