Reputation: 5119
I'm trying to get the starting monday date of the actual week we are in. Like we are July 15th and would like to have the result with strtotime to return July 11th...
I've tried
strtotime("-1 weekdays");
Without luck... What could be the function for the actual week please.
Thanks
Upvotes: 0
Views: 557
Reputation: 25165
$timestamp = strotime('monday this week');
Will give you Monday! ;)
Upvotes: 2