Answers for "name of today 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
1

php full day name

date("l",time()) // LOWER CASE L
Posted by: Guest on March-30-2020
0

name of today php

$datetime = DateTime::createFromFormat('YmdHi', '201308131830');
echo $datetime->format('D');

// or 

$date = new \DateTime();
echo $date->format("D");
Posted by: Guest on September-18-2020

Browse Popular Code Answers by Language