SQL PHP HTML ASP JavaScript articles and free scripts to download

Getting Name of the Month by entering month number

We can get the months name by using the month number by using MonthName() function.
Here is the syntax for MonthName function.


Output of the above code is October.

It can take one more optional argument to return month name in long or short format. By default it is set to False


This will return October

MonthName(10, True )

This will return Oct

Be the first to post comment on this article :


Post Comment This is for short comments only. Use the forum for more discussions.
Email( not to be displayed)Privacy Policy

HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2015 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer