Re: Plpgsql function to compute "every other Friday" - Mailing list pgsql-general

From John R Pierce
Subject Re: Plpgsql function to compute "every other Friday"
Date
Msg-id 4D9A6D67.9000405@hogranch.com
Whole thread Raw
In response to Plpgsql function to compute "every other Friday"  ("C. Bensend" <benny@bennyvision.com>)
Responses Re: Plpgsql function to compute "every other Friday"
List pgsql-general
generate_series(date '2001-01-05', date '2020-12-31', interval '2 weeks')


will return every payday from jan 5 2001 to the end of 2020 (assuming
the 5th was payday, change the start to jan 12 if that was instead).



pgsql-general by date:

Previous
From: Andy Colson
Date:
Subject: Re: Plpgsql function to compute "every other Friday"
Next
From: "C. Bensend"
Date:
Subject: Re: Plpgsql function to compute "every other Friday"