Answers for "check day of week php"

PHP
0

php check weekday of date

$dayofweek = date('w', strtotime($date));
$result    = date('Y-m-d', strtotime(($day - $dayofweek).' day', strtotime($date)));
Posted by: Guest on April-29-2020
2

get day from date php

// Prints the day
echo date("l") . "<br>";
Posted by: Guest on July-04-2020

Browse Popular Code Answers by Language