get day time and year in php code example
Example 1: get day from date php
// Prints the day
echo date("l") . "<br>";
Example 2: show date php
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html
// Prints the day
echo date("l") . "<br>";
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html