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.

Featured Replies

I have four variable called start date, start time, finish date and finish time. I want to calculate the total time but when i do a simple finish time - start time and if the finish time is in AM(the next day) and start time is in PM i get a negative time. basically i want to involve all the four variables to calculate the total time and store the value in a variable. Can this be done? or is there an easier way to do this?

Sorry im a dumb newbee confused.gif

Hi infected,

I suggest you use a calculation along the lines of:

Case(

not IsEmpty(start date) and not IsEmpty(start time) and not IsEmpty(finish date) and not IsEmpty(finish time) and

(finish date > start date or finish time > start time),

finish time - start time + (finish date - start date) * 86400

)

Most of the calc is there to stop bogus values from appearing before you've finished entering the required data for the calculation. The real work is all done on the fourth line... smirk.gif

  • Author

thanks a lot man, it worked out really well.

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.