Skip 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.

Calculating number of weekdays/weekend days

Featured Replies

Dear all,

 

 

I am running a b&b and run into the following issue. I have a calendar with a check in date and a calendar with a check out date.

The period of time selected into these calendars should result into the following:

1) number of weekend days (whereas weekend days are definable i.e. friday/saturday or saturdays/sundays)

2) number of work days (also definable: ie weekdays can be defined starting on either sunday or mondays)

3) a total of nights stayed. (check in date - minus check out date)

 

I can't seem to find the way to calculate 1 and 2 and how to set this up.

 

Anybody knows the trick for this?

 

Thanks in advance.

 

1) number of weekend days (whereas weekend days are definable i.e. friday/saturday or saturdays/sundays)

2) number of work days (also definable: ie weekdays can be defined starting on either sunday or mondays)

 

Where 2) follows from 1), I take it …?

 

See if the attached file can help you.

 

Note that you need to store the weekend day selection with the individual reservation, because if this was a global setting, existing reservations could/might/would be falsified by later changes. You can of course use a global (maybe seasonal?) selection and use this as an auto-enter value.

 

Adjust/use alert and CF colors/messages as you see fit.

WeekendDays_eos.fp7.zip

  • Author

Brilliant! This did the trick. Thanks so much.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.