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

Trying to find difference between 2 dates

Status
Not open for further replies.

m3gd04

Technical User
Sep 17, 2004
17
US
Hello All,

Simple problem that I hope you could assist. In a report, I have 2 fields that are dates but are "dimensions" rather than "measures" . I'm simply trying to find the difference between the two dates, quoted in "days". They are as follows:

Field one = Case Date
Field two = Birthdate

I guess I'm trying to find out how I can convert the "case date" and "Birthdate" into integers, and then find solution as "days"

ie..

Case Date Birthdate Days in between ??
11/15/05 09/15/05 61

Any help would be greatly appreciated.

thanks
 
depending on your version of CR, I think that datediff should do the trick here

datediff("d", {case date},{Birthdate})

Mo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top