Can someone tell me why these 2 returning different dates?
$currentYear = 2024;
echo date('Y-m-d', strtotime("january $currentYear third monday"));
echo "n";
echo date('Y-m-d', strtotime("third monday of january 2024"));
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Can someone tell me why these 2 returning different dates?
$currentYear = 2024;
echo date('Y-m-d', strtotime("january $currentYear third monday"));
echo "n";
echo date('Y-m-d', strtotime("third monday of january 2024"));