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.

Under construction. Email me your wish list for improvements.