Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

Let(

[

startDate = yourfield;

EndDate = your2ndField;

Difference = startDate - EndDate

];

If(

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

1;

Difference

)

)

What, you can't find your own topics?

http://www.fmforums.com/forum/showtopic.php?tid/172410

Or is it this one:

http://www.fmforums.com/forum/showtopic.php?tid/176516

  • Author

Sorry, I couldn't locate it. I admitted it up front.

Steve

  • Author

This was perfect...thank you!

Steve

Click the "My Topics" link in the Welcome Back Bar at the top right.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.