Hi Guys,
How can I get the Sunday and Saturday of the week given a specific date?
For example:
input: Monday, September 28, 2009
output should be:
Sunday, September 27, 2009 12:00 AM - Saturday, October 3, 2009 11:59 PM
I am thinking of using the date
, strtotime
, mktime
and time
php functions.
If you have a usable function then it is also fine with me.
Thanks in advance :)
Cheers, Mark