Get date for monday and friday for the current week (PHP)

Best solution would be:

$monday = date( 'Y-m-d', strtotime( 'monday this week' ) );
$friday = date( 'Y-m-d', strtotime( 'friday this week' ) );

Leave a Comment