Answers for "php weekday number"

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
0

php timestamp format

date("d.m.Y", strtotime($mysqltimestamp)
Posted by: Guest on December-08-2020

Browse Popular Code Answers by Language