I'm looking for a reliable way to return the full date of a specified day of the week (for example, "Mon") to the current week.
From today on Wednesday, June 13, 2012, I expected it to <?php echo date("Y-m-d", strtotime('Mon this week')); ?>result in 2012-06-11, but instead, php returns 2012-06-18as if it will interpret this week as a value next week . Why is this behavior and what should I do?
Thank.
- Jeff
source
share