Hi,
Please help me with the following:
I have a form with a few fields.
I have a start_date and an end_date :
Start Date: March,6, 2005
End Date: April, 23, 2005
From this interval I have to extract all numbers of days for sunday:
So I need 6,13,20,27(all sunday from march) and 3,10,17 (all sunday from april)
Can you help me ?
[SOLVED] Calendar Help
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
strtotime() can retrieve a sunday relative to a date, and increment to the next available sunday.