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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to