Here is an example of how to do it.
<?php
$dayname_today = date("l"); // Day name of current date
$custom_date = "2015-07-22";
$custom_dayname = date("l",strtotime($custom_date)); // Day name of 2015-07-22 date
?>
Hopefully this short article help you, thank you.

Very helpful, thanks..
BalasHapus