Brian Dunning's FileMaker Custom Functions

previousMonthsDate ( theDate )

Calculate a date one month earlier with correct day

  Average rating: 4.4 (31 votes) Log in to vote

Winfried Huslik   Winfried Huslik
Huslik Verlag GmbH

Share on Facebook Share on Twitter

  Sample input:
previousMonthsDate ( "10/31/2004" )
  Sample output:

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

Calculates a date within the previous month where the day is adjusted to a possible result, i.e. 3/31/2005 is converted to 2/28/2005.



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: