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 5872 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hello, I'm wondering if someone can help me how to calculate a time interval on Filemaker Pro.

This is the problem: I have two dates and I want Filemaker Pro to calculate how many weeks there are between those two dates. I've tried it a few different ways, but I'm obviously doing something wrong because I get weird numbers every time. Help!

Thanks!

Posted

Calculation ( result is number);) [color:blue]Case ( date1 and date2 ; ( date1 - date2 ) / 7 )

This will produce a decimal of whole weeks and partial remaining. You haven't said how accurate you want to be. If you only want full weeks, you can use:

[color:blue]Case ( date1 and date2 ; Div ( date1 - date2 ; 7 ) )

And welcome to FM Forums, LQUCSF!!! :smile2:

This topic is 5872 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.