Brian Dunning's FileMaker Custom Functions

AmbiguousDate ( Text )

Returns an approximate date for unspecific date input

  Average rating: 3.8 (43 votes) Log in to vote

Lewis Buckingham   Lewis Buckingham
None
none

Share on Facebook Share on Twitter

  Sample input:
AmbiguousDate( Late Dec 1942 );
AmbiguousDate( 1942 );
AmbiguousDate( July 1942 );
AmbiguousDate( Late 1942 )
  Sample output:
24/12/1942;
1/1/1942;
1/7/1942;
1/11/1942

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

This function requires my RelativeMonthCheck(Text) function to work.

Used for creating an acting date when the information given is not specific, but the original data is still required to be kept.

Good for ordering information or display etc.

Input is a text file with UK format - i.e. Day, Month, Year.

It needs the first three letters of a month, and accepts the terms "Early" , "Mid", and "Late" which generate arbitrary numbers for day of the month or month of the year.

 

Comments

Fergus Pearson   Fergus Pearson, Whitehaven, UK
May 22, 2015
This is a brilliant solution! I'm doing research on a guy from the 18thC and I'm trying to catalogue his letters - I want to sort them by date, but not every letter is dated exactly - so your function has fixed the problem where I couldn't even guess what the solution would be. Thanks!
 
Lewis Buckingham   Lewis Buckingham, Sydney, Australia
May 22, 2015
I'm glad it came in handy.

I figured the function for pretty much exactly the same reason - dating family photos and letters, as well as events mentioned in letters and interviews. I figured, you should be able to make it as detailed as is possible, and hopefully once everything's input, finer details of order might become apparent.
 

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 20 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: