Question and answer is powered by AnsPress.io
I want to print full day name from date in php. I am use this code to print date in my PHP page.
My code is:
<?php foreach ( $mydate as $cdate ){ echo $cdate->format( "d-m-Y" ); } ?>
Here I want echo only days name.