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.

Critical Path Ignoring Weekends

Featured Replies

good day everyone.

i am looking for an elegant way for a planning schedule to ignore weekends.

by this, i mean that if, on a friday, i shedule a task to take 3 days, it will return the deadline as wednesday (and not monday).

it would be doubly elegant if i could also enter public holidays and ask the schedule to ignore those too.

any suggestions would be welcome

many thanks

petal

I am not sure how elegant this is.

1. Set up a table of holiday dates. Also have a constant in this table ( say "1")

2. Set the number of days to do a task into a global field.

3. Set up a "Set" script that is for processing. Basically it starts at tomorrow and goes through each day until it reaches the number of days alloted.

At each day, it checks (a) is it a saturday or sunday. If it is, the global counter is not decremated. (;) Does the Date poled relate to the holiday table and have a related constant = 1. Again, if it does, the counter is not decremated.

When the counter reaches 0, that is the date set for the task to be completed before another date is poled.

So it is less a database operation than it is an application process.

HTH

Dave McQueen

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.