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

Featured Replies

Sirs, how would I do a calculation for the time difference between two entered fields, such as Start Time, End Time? I have tried to make such a calculation, by making the start and end time values TIME, but the result makes no sense. It thinks the time value, for the 24 hour clock, is minutes. It will not display the time normally, but puts the : mark after the minutes and then adds seconds, thus 1630 is displayed as 1630:00, which must have something to do with the calculation. I cannot enter the times as numbers since the calc will be totally wrong. I do not want to use the 12 hour clock, but will if this is the only way to do it. And if the two times are on different days (start time 2200 day one, end time 0300 day two for example) how would the program know that?

Thanks in advance, Glen

And if the two times are on different days (start time 2200 day one, end time 0300 day two for example) how would the program know that?

Hi

you have to use two TimeStamp fields as TimeStart and TimeEnd

TimeEnd - TimeStart, result as Time will give you the exact time elapsed in this format:

hh:mm:ss

Using Timestamps for entry is better, but not mandatory. Try:

EndTime - StartTime + ( EndTime < StartTime ) * 86400

The result should be set to Time. This assumes that the elapsed time is less than 24 hours in total, so when starting time is later than ending time it adds 24 hours to the end.

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.