MoNm ( MoNo ; Format )
Enhancement of native MonthName function
Average rating: 4.2 (33 votes) Log in to vote
Matt Wills - Show more from this author
Virtual Vermont http://www.virtualvermont.com/FMP/ |
MoNm ( 1 , 3 )
Jan
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
FM's native MonthName function requires you to enter a complete date in quotes (or a date field) to return the name of the month. Any dummy day and year will do, but you still have to enter whole thing, and you get the full month name.
This CF allows you to enter just the number of the month (1-12), and also provides the added flexibility of returning either the full name (default) or the three-letter abbreviation.
If Format = 3 the abbreviation is returned. Any other value returns the full name.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.