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
http://www.fmchecker.com

Share on Facebook Share on Twitter

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

  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.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. 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 15 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:

Under construction. Email me your wish list for improvements.