Brian Dunning's FileMaker Custom Functions

LastMonday ( themonth ; theyear )

Returns the date for the last Monday in a given month

  Average rating: 4.1 (30 votes) Log in to vote

Theo Ros   Theo Ros - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
LastMonday ( 5 ; 2005 )
  Sample output:
May 30, 2005

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns the date for the last Monday in month
'themonth' and year 'theyear'

In: themonth - integer value 1 to 12 for the month
theyear - integer value for the year
if empty, the function uses the current date

Return type: Date



Jake DeGroot   Jake DeGroot
Jun 8, 2012
This function doesn't work if you select the month december (12) for any year, is there any way to get around the error?

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: