Answers for "long day in php"

PHP
1

php full day name

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

get day from date php

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

long day in php

$mydate = '2016-01-01';
echo date('l, F jS, Y', strtotime($mydate));
# Friday, January 1st, 2016
Posted by: Guest on November-16-2020

Browse Popular Code Answers by Language