Re: Business days - Mailing list pgsql-general

From A. Kretschmer
Subject Re: Business days
Date
Msg-id 20070427080039.GA10374@a-kretschmer.de
Whole thread Raw
In response to Re: Business days  ("Peter Childs" <peterachilds@gmail.com>)
List pgsql-general
am  Fri, dem 27.04.2007, um  8:18:55 +0100 mailte Peter Childs folgendes:
> >Sure, that's an alternative, but it seems a bit too much reinventing an
> >already existing wheel. I was amused to see the script had the ill-fated
> >Lee-Jackson-King day in it. Ideally, we'd want a Postgres table that
> >describes the rules for each holiday, and then a function that reads it
> >on the fly. Perhaps a project for another day...
> >
>
> More complicated than that....
>
> Easter read Good Friday and Easter Monday.

Some times ago, i have written a little function to calculate easter and
other feasts.

http://a-kretschmer.de/diverses.shtml


HTH, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: binary representation of date and numeric
Next
From: Nico Sabbi
Date:
Subject: Some problem with warm standby server