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

Recommended Posts

Posted

Hello,

I asked this question many years ago but I can no loner find the answer so I apologize for asking again.

I want to write a calculation where

StartDate-EndDate=NumberDays

Easy enough, but if the StartDate is a Thursday and the Endate is a Monday I only want the calculation to return "1" as the answer..essentially taking the weekend days out of the equation.

I am not really concerned about three day weekends or weird anomolies.

Does anyone know a calculation that would do this?

Thanks in advance for any help.

Steve

Posted

Let(

[

startDate = yourfield;

EndDate = your2ndField;

Difference = startDate - EndDate

];

If(

DayName(startDate) = "Thursday" and DayName(EndDate) = "Monday";

1;

Difference

)

)

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