Newbies LQUCSF Posted December 30, 2008 Newbies Posted December 30, 2008 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!
LaRetta Posted December 30, 2008 Posted December 30, 2008 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:
Recommended Posts
This topic is 6072 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 accountSign in
Already have an account? Sign in here.
Sign In Now