Re: Find Number Of Sundays Between Two Dates - Mailing list pgsql-general

From Garry Saddington
Subject Re: Find Number Of Sundays Between Two Dates
Date
Msg-id 200803050809.49902.garry@schoolteachers.co.uk
Whole thread Raw
In response to Find Number Of Sundays Between Two Dates  (raghukumar <raghukumarn@gmail.com>)
List pgsql-general
On Wednesday 05 March 2008 06:16, raghukumar wrote:
> Hai EverBody,
>
>         Can I know what is the query by which we can find the number of
> sundays between two given dates in postgres
>
> Thanks In Advance,
> Raghu.......
I think the easiest way is to set up a table populated with all dates and days
between two years that are important to your application and then just do
simple selects on that table.
Regards
Garry

pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Find Number Of Sundays Between Two Dates
Next
From: "Suresh Gupta VG"
Date:
Subject: Meaning og Logs