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.

Annual/Biennial Date Calculations

Featured Replies

Hoping someone has an easy solution to finding annual and biennial dates where the result omits weekends and possibly holidays.

Any help is appreciated.

Your question is not clear enough.

I think I understand what you mean. You are totaling the number of workdays, and don't want to include the weekends or holidays.

comment is right, though, we need more information to know exactly how to work it in this particular case.

I did this recently with a report layout I made. In it I have two date fields, a start and a stop. I use these date fields for calculating a find string so I get records between the two dates. It's easy enough to use WeekofYear(enddate) - WeekofYear(startdate) x2 to get the number of weekend days and subtract them from just the enddate - startdate + 1 to get the number of workdays.

Of course, that breaks if you cross a year, but a quick case statement can fix that, too.

Holidays were a harder task until I realized I was working in FileMaker, and I just made a new table to store holiday dates, then cycle through them to see if any fall between the start and end dates. You have to add the holidays manually, of course, but you only have to do it once.

Let us know if this helps or, if not, what would help.

try the calculation engine section and search for the nextworkday topic by Bcooney and download the zip file she posted by Comment and see if this is want you want.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.