| | |
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.
MonthName(10)
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
MonthName(10,False)
This will return October
MonthName(10, True )
This will return Oct
| |
|
|
|