Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Global with four saturday-dates

Quote Reply
Global with four saturday-dates
A customer buys a product today.
We need the dates for the four following saturdays.

Example:
Today is 2004-04-01.
Then the output should be
2004-04-03
2004-04-10
2004-04-17
2004-04-24
Exception: If you buy the product at saturday, this saturday shouldnt be included!
The next saturday is the first date!

I need the output in hiddenfields!
e.g.
<input type="hidden" name=date1 value="2004-04-03">
<input type="hidden" name=date2 value="2004-04-10">
<input type="hidden" name=date3 value="2004-04-17">
<input type="hidden" name=date4 value="2004-04-24">

Thanks in advance,

Coyu
Subject Author Views Date
Thread Global with four saturday-dates Coyu 1974 Mar 31, 2004, 11:58 PM
Post Re: [Coyu] Global with four saturday-dates
pugdog 1867 Apr 1, 2004, 6:20 AM
Thread Re: [Coyu] Global with four saturday-dates
afinlr 1863 Apr 1, 2004, 7:29 AM
Thread Re: [afinlr] Global with four saturday-dates
pugdog 1856 Apr 1, 2004, 3:50 PM
Thread Re: [pugdog] Global with four saturday-dates
pugdog 1840 Apr 2, 2004, 4:54 AM
Post Re: [pugdog] Global with four saturday-dates
pugdog 1838 Apr 2, 2004, 5:12 AM