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

Time to number

Featured Replies

I have 3 fields

1) Time In

2) Time Out

3) Total Hours

I know this sounds basic, but I am getting crazy figures in the total hours. I did the Total Hours as a number with a calculated value of Time Out - Time In. I thought it would be a simple calculation, but it comes up with things like -12987 when I put in the time in as 07:00 and the out as 18:45. Any suggestions??

What do you want the result to be, when Time In is 07:00:00 and Time Out is 18:45:00?

  • Author

It should say, 11.75

Then try:

( Time Out - Time In ) / 3600

What should the calculation return when somebody does a late night shift and the time in is 18:45:00 and time out is 07:00:00?

You need to track date in and date out as well and include these into your calculation. Something like:

( ( ( Date Out - Date In ) * 86400 ) + ( Time Out - Time In ) ) / 3600

  • Author

Good point.. Ok now the fields I have are this:

1) Time In

2) Time Out

3) Date (for the starting date)

4) Date2 (For the ending date)

5) Total Hours

6) Pay Rate

7) Overtime

8) Overtime Weekly

*******

Now I have it set to record my daily time sheet, and need to make sure that if the hours are over 10 in one day all hours over the 10 for a single day are at time and a half. I also need to have "Overtime Weekly" to check if the total hours for the "Pay Period" is over 40, and if so, all over 40 would be at time and a half.

Complicated at best. Since if over 10 is 1.5 and over 40 is 1.5... I may be in over my head on this one...

I am including the file so you can see what I am trying to accomplish. It is for my personal timesheets.

timesheet.zip

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.