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.

Trouble calculating amount of time...

Featured Replies

I have a solution where I would like to track the number of hours, minutes, etc. that a user is in my system. I have the following fields that are trapped at solution entry and exit:

Logfile_Action_Start_Time

Logfile_Action_End_Time

Can anyone point me in the right direction of creating a caclulated field to do this job. Many thanks!

Just off the top of my head:

Hours (calculation, number result) = Hour(Logfile_Action_End_Time - Logfile_Action_Start_Time)

Minutes (calculation, number result) = Minute(Logfile_Action_End_Time - Logfile_Action_Start_Time) - Hours

Probably easier to keep hours and minutes together in one time field:

ElapsedTime (calculation, time result) = Logfile_Action_End_Time - Logfile_Action_Start_Time

Do you need to count days too?

With FM7, you have the option of using a TimeStamp field instead of a Time field. That would eliminate the need to do special checks if your time frame extends past midnight.

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.