Brian Dunning's FileMaker Custom Functions

GestationalAge ( date )

Calculate number of weeks and days from a given last menstrual period

  Average rating: 4.3 (32 votes) Log in to vote

Rafael Burgos   Rafael Burgos
USAF
http://www.af.mil

Share on Facebook Share on Twitter

  Sample input:
GestationalAge(7/25/2006)
  Sample output:
1 week(s) 3 day(s)

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

May be useful for developing solutions in healthcare. Uses last menstrual period ("date") to determine the # of weeks and days since last menstrual period and the current system date. It reports the interval in weeks and days. Easily modifiable to calculate using any date, not just Get(CurrentDate). Sorry if I did not follow the filemaker convention in formula notation.

 

Comments

Rodolfo   Rodolfo, Mexico City
Jun 3, 2015
Thanks a Lot for this Formula!
Works Great!
 

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.