Access 2007-2019 Access 2000-2003 Access Seminars TechHelp Support Tips & Tricks Access Forum Course Index Topic Glossary Insider Circle

 Home   News   Courses   Tips   Templates   Forums   Help   Order   Contact   Logon More... What's New? Tips & Tricks Access Index Access Tips Excel Index Excel Tips Waiting List

 NEW:    dismiss

# Microsoft Access Date/Time Differences

How Much Time Has Elapsed Between Two Dates/Times. Employee Timesheets.

Q: I have a timesheet table with TimeIN and TimeOUT for each employee. How can I calculate the HoursWorked?

A: Working with times and dates in Access is easy once you know that each DAY has a value of ONE. So if you add 1 to 1/1/1990, you get 1/2/1990. If you add 0.5 to 1/1/2004 you get 1/1/2004 12:00 (which is HALF a day). If you need to figure out the difference between two times, just subtract them. That will give you the difference IN DAYS between those two dates. If it's a fraction, you're dealing with HOURS, just multiply by 24. Here's an example:

Here is a FREE VIDEO TUTORIAL that will walk you through an example of working with date and time differences. It's much easier to show you how it's done than to explain it here.

I teach the concepts in this free mini tutorial in my Access 206 course. These are full courses - over 60 minutes in length each. I spend a lot more time going over how to do this, in addition to lots more tips and tricks.

>>> Also, see my other Tip on calculating the number of months someone has been alive using the DateAdd and DateDiff functions.

By Richard Rost

 You may want to read these articles from the 599CD News:
 5/30/2020 Two New Access Handbooks 5/30/2020 Access Tip Sleep Timer 5/18/2020 Access Record Source Property 5/3/2020 Access Replace Function 5/1/2020 Microsoft Access Tutorials 4/24/2020 Access Discontinued? 4/21/2020 Date Time Clock Picker Template 4/20/2020 Access Backup Record Before Edited 4/17/2020 ZIP Code Lookup Template 4/16/2020 Access Round Nearest 10

Learn

 Access index Excel index Word index Windows index PowerPoint index Photoshop index Visual Basic index ASP index Seminars More...
Customers

Online Theater
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
Help

Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services

Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order

Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact

Live Chat
General Info
Support Policy
Contact Form
Email Richard