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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculating to number of Days between 2 dates!!!!

Status
Not open for further replies.

Kckronic21

Programmer
Jul 29, 2001
81
US
Hi, I was wondering if there was a way to calculate the total number of days beteen to dates? I whave a field called "Date_of_Hire" and I want to display the number of days between the "Date_of_Hire" field and the current date. I have tried using the DateDiff function, but I was unsuccessful. Any help would be appreciated. Thanks!
 
Shouldn't make any difference. DateDiff == DateDiff

Days: DateDiff("d, Date", [DateHire])

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top