How can I get the date for monday and friday for the current week?
I have the following code, but it fails if current day is sunday or saturday.
$cu
Best solution would be:
$monday = date( 'Y-m-d', strtotime( 'monday this week' ) ); $friday = date( 'Y-m-d', strtotime( 'friday this week' ) );