Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5672 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a column of different dates. Each date is the date on a record of when a subscription to a magazine lapsed.

I have a global column showing today's date.

I need a formula that will tell me the number of months that have elapsed between the two dates.

I am working in Filemaker Pro 5

Can anyone help?

Posted

Try:


12 * Year ( gToday ) + Month ( gToday ) - 12 * Year ( StartDate ) - Month ( StartDate ) - ( gToday < Date ( Month ( gToday ), Day ( StartDate ) , Year ( gToday ) ) ) 

BTW, you don't need the global field for this - you can use Status(CurrentDate) directly (just make sure the calculation is unstored).

Posted

I have a column of different dates. Each date is the date on a record of when a subscription to a magazine lapsed.

These date fields (holding the lapsed subscription date) should really be records in a related table. It will be much easier to work with because the same calculation provided by Comment can then work for ALL the fields instead of requiring a separate calculation for each date field.

And if the subscriptions are records, you can easily track, count, and report on the information. :wink2:

This topic is 5672 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.