How to get Day Name from date in PHP?
$dateValue='2015/07/15';
$dayName=date("D", strtotime($dateValue);
Hi, I want exact day name from the above given sample date, please help me.
You need to use l
as the first parameter.
echo date('l', strtotime($dateValue));