If you can't explain it simply,
you don't understand it well enough.
-Albert Einstein
 
Home   News   Courses   Seminars   Templates   Help   TechHelp   Forums   Order   Contact   Logon  
 
Home > TechHelp > Directory > Access > Time Spent
 
Calculate Total Time w DateDiff
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   29 days ago

Calculate Total Time Spent on a Job with DateDiff


 S  M  L  XL  FS  

In this Microsoft Access tutorial, I will teach you how to calculate the difference between two times. You can use this for employee time clocks, job costing, or just about any database where you need to figure out the difference between a start time and an end time in minutes and/or hours.

Adam from Fort Dodge, IA (a Developer Student) asks: I have a series of jobs that have a start date/time and an end date/time. I need to be able to calculate the total time worked on each job so I can bill my customers accordingly. Additionally, sometimes the job might start on a Thursday and end on a Monday. I need to exclude weekends, after hours (5pm to 8am the next day) and lunch breaks (noon to 1pm). How do I do this?

BONUS FOR CHANNEL MEMBERS:
Silver Members and up get access to an EXTENDED CUT of this video which covers additional examples. That video will show you how to add ranges of time to exclude from your calculations (such as when the business is closed, lunch hour, breaks, etc.) and exclude weekends.

MEMBERS ONLY VIDEO: 
https://youtu.be/8xj0oxAbZpI

BECOME A MEMBER:
https://youtube.com/channel/UCl7-jJie4ifOVK87FINIuDg/join

LINKS:
Basic Math Difference: https://youtu.be/Z9FwFqGaphk
Aggregate Queries: https://youtu.be/60o0hRUfBHs
DateDiff: https://youtu.be/sQaEN_wngSY
IIF Function: https://599cd.com/IIF
NetWorkDays: https://599cd.com/XACDT

ADDITIONAL RESOURCES:
FREE Access Level 1: https://599cd.com/Free1
FREE Customer Template Database: https://599cd.com/XCDT
$1 Access Level 2: https://599cd.com/1Dollar
Your Questions Answered: https://599cd.com/TechHelp
Learning Connection 50% OFF: https://599cd.com/Connection
Survey: https://599cd.com/survey
Richard's Blog: https://599cd.com/blog
Access Forum: https://599cd.com/AccessForum
Twitter: https://twitter.com/LearningAccess
https://en.wikipedia.org/wiki/Microsoft_Access
https://products.office.com/en-us/access
https://microsoft.com/en-us/microsoft-365/blog/access/
Email Me: amicron@gmail.com

KEYWORDS:
microsoft access, ms access, #msaccess, calculate total time, datediff, time clock, lunch breaks, exclude time ranges, exclude weekends, fractional hours, hours:minutes, employee time clocks, job costing time, elapsed time, access calculate time difference, datediff access age, project costs

QUESTIONS:
Please feel free to post your questions or comments below. Thanks.

 

Post a New Comment or Question
 
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.
 
Subscribe
 
 
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search The Site
Waiting List
Production Schedule
Code Vault
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed   
Keywords: TechHelp Access calculate total time, datediff, time clock, lunch breaks, exclude time ranges, exclude weekends, fractional hours, hours:minutes, employee time clocks, job costing time, elapsed time, access calculate time difference, datediff access age,   PermaLink