Equinox Online Help - Language Reference - A to Z
MonthName |
|
|---|---|
| Applies to | ![]() |
| Syntax | Monthname(MonthExpression) |
| Action | [Function] Returns the month name for a specified month. |
| Scope | Usable anywhere. |
| Notes | The function returns the name of MonthExpression as a string, eg "July". MonthExpression can either be a date, or a number between 1 and 12. |
| Category | Date handling |
| See Also | Years, Year, Day, Dayname, Dayofweek, Dayofyear, Dmy, Dmyadd, Leapyear, Month, Months, ServerDateTime, Today, Week, WeekOfYear, WeekStart |
| Example | The following example puts the first letter of the current month into the variable MonthLetter. MonthLetter = Left(Monthname(Today), 1) |
