Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Number of years from subtracting dates

Status
Not open for further replies.

herschelrj

Programmer
Jan 12, 2005
24
0
0
US
I have two date fields, a hire date and a term date. I would like to subtract the hire date from the term date and come up with the nuber of years or partial years. Any help appreciated.
 
Disregard... I got it. I took the number and divided it by 365 and have the desired results...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top