Question and answer is powered by AnsPress.io
I want to display only month name of year in my view page using php language. How can I display month name and store in a variable only month name?
<?php $month = date('F'); //Current month echo $month; ?>
you can get more details by this link http://php.net/manual/en/function.date.php