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

Subtract 1 "Date and Time" field from another "Date and Time&quot 1

Status
Not open for further replies.

DianaStewart

Programmer
Apr 16, 2002
58
CA
Is this possible?

On my report I have a field named Date1 and a second field which is Date2. Both these fields are of Date and Time data types.

Is there a way to subtract the one from the other?

Date1 - Date2 =
 
Click on the "FAQ" tab. Howard Hammerman has a FAQ on exactly how to do this.
 
See the CR helpscreens on the DateDiff() function. If you are using CR version 7 or older, you will not have the datediff() function, but you van go to Crystal Decisions website and download it. Software Training and Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top