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.

Working hours

Featured Replies

Does anyone know of a solution to track working hours? I would like to use a simple solution where the user login on his/hers account and register the working hours. Does anyone have any suggestions how to do this solution or is there a solution ready to use today? by the way, i am using FMP7.

Hi. This isn't a complete/detailed answer, more of a possible scenario.

When a user logs in you could populate a global field with the current date using Get(CurrentDate). At the same time populate another field with the time of the login using Get(CurrentTime).

Once user logs out you can grab Get(CurrentDate) again and Get(CurrentTime).

Compare logout CurrentDate to the global date you stored previously. That will tell you if they have worked past midnite if the 2nd date is greater than the 1st by a day.

Use the date calc to drive another calc that subtracts login from logout to determine how long they have worked.

FM7 has a good function to convert time differnces to durations.

Kurt

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.