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.

TimeStamp calculations excluding weekends

Featured Replies

  • Newbies

We have a database which Management wants to track by Time how long work is in each Department. Found sample for calculating the Number of Workdays but nothing in Time.

Example fields:

Files Here TimeStamp

Done PF TimeStamp

Time in PF Calculation in Time excluding Weekends

Any suggestions ?

Are you running 24 hours per day? What about lunch breaks?

Difference between timestamps in FMP 7 is seconds.

I have seen some very neat solutions for this in pre 7.

  • Author
  • Newbies

Yes - we are running 24 hours per day. We do not need to track Lunch Breaks.

We are wanting to exclude Weekends and Holidays as no one should be working !

I have found an old (2002) FMP 5 - 6 set of tables that I developed for a similiar request. It was for a 1 shift operation with overtime. It could be modified for your use. It uses a table of holidays to exclude them. It also excluded the lunch break. I will post it if you are interested.

  • Author
  • Newbies

Yes - I would like to look it over.

Not many replies to this post yet.

Thanks you for your time as I have been researching the web for answers.

Okay, here is the file. Look at the Developer layout for the notes I made. In Holidays you will need to change hours to 24

I am sending another set of files. I think this one is more complete than the first set.

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.