Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Timesheets < Widow Orphan | Barcode Scanning >
Back to Timesheets    Comments List
Upload Images   Link   Email  
Calculating Years of Service
Pieter Steinmann 
    
2 years ago
I'm using this query to calculate Years of Service: Int((Date()-[DOH])/365.2425) and get this #Error.
What could cause this?
Adam Schwanz 
            
2 years ago
Why not just use date diff? This video will show you exactly what you want. Instead of a birthdate it's date of hire.

Age, Part 2
Richard Rost 
            
2 years ago
If DOH is Null, you'll get an error. Try:

Int((Date()-Nz([DOH],Date()))/365.2425)
Richard Rost 
            
2 years ago
Pieter Steinmann OP 
    
2 years ago

Pieter Steinmann OP 
    
2 years ago

Pieter Steinmann OP 
    
2 years ago

Pieter Steinmann OP 
    
2 years ago
I'm still can't figure out what am I missing to get the years of service (in years and months)
Please help
Kevin Robertson 
          
2 years ago
Richard Rost 
            
2 years ago
Pieter, in my Code Vault there is a function called HowLong. It used to just tell you how long ago (from now) something happened. I just updated it to accept a start and end date. It's available for Gold Members.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Timesheets.
 

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/12/2024 3:46:09 AM. PLT: 1s