Vote Up 2 Vote Down

php display current month name fully

I need to display current month name. So far I tried the following code:

echo date("M");

I prints as:

But I need April

How to do it ?


Vote Up 0 Vote Down
You can achieve that using the same date function. But you need to alter your code as follows

echo date("F")
flag | link |

Your Answer

Login before answering

Login with facebook