date day name full php code example
Example 1: php full day name
date("l",time()) // LOWER CASE L
Example 2: long day in php
$mydate = '2016-01-01';
echo date('l, F jS, Y', strtotime($mydate));
# Friday, January 1st, 2016
date("l",time()) // LOWER CASE L
$mydate = '2016-01-01';
echo date('l, F jS, Y', strtotime($mydate));
# Friday, January 1st, 2016