How do I get the name of a day from a date in PHP?
$dateValue='2015/07/15'; $dayName=date("D", strtotime($dateValue);
Hi, I want the exact name of the day from the above sample date, please help me.
You need to use it l as the first parameter.
l
echo date('l', strtotime($dateValue));
You can use the following code,
for more information see the following link:
http://www.w3schools.com/php/func_date_date.asp