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
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