Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Time Entry


Recommended Posts

Okay I have another question that maybe someone here can help me with.


When someone Clock's In or Clock's Out a new record is created in the field named "Start Time" or "End Time" and the following formula is what we use to calculate total hours worked:


Round ( (End Time - Start Time)/3600 ; 2 )


This has always worked but now we have added a second shift and we have people starting work at 11:00pm and ending at 7:30am the next morning. This is messing everything up and I haven't been able to figure out how to make it work.


Any suggestions are greatly appreciated.

Link to comment
Share on other sites

Use a TimeStamp field instead of a Time field.


You can subtract 3/21/2008 11:23:17 PM from 3/22/2008 4:03:17 AM and the answer is in seconds so you use the same /3600 to get hours, and unlike with time fields it comprehends that this is a different day.

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use