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

Hi everyone,

i need to calculate how long a job takes from start to finish.

problem i have - jobs take longer than 1 day and if the job goes over in to next day or three days ahead it does not give a true representation of how long the job took.

e.g.1. Start day 1 @ 1600

Finish day 2 @ 1500

result = -1 hr

e.g.2. Start day 1 @ 1600

Finish day 3 @ 1700

result = +1 hr

Can anyone help me please?

Thanks in Advance,

ricardo.

There are probably many many ways of doing this. I attached a sample file (timetest.fp5) where all you need to do is enter starting and ending days/time, and it shows you the difference in days/hours/minutes. Use and plunder at will. smile.gif

timetest.fp5.zip

You need to take into account the start and finish dates as well, so the calc for the time difference would be:

(FinishDate-StartDate)*86400 + FinishTime - StartTime

Format the result as a time field and your answer will be in hh:mm or hh:mm:ss

If you want a different format to the standard Filemaker time formats, format the result as a number (it will be in seconds) and then start dividing by 60, 3600 etc if you want whole hours, minutes or whatever.

  • Author

Cheers Mate,

What i had worked out this morning already after i posted my thread believe it or not is basically exactly the same as the db you sent me.

Two great minds think alike!!

Enjoy the surf!

Muchas Gracias,

Ricardo

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.