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

Trying to get a field to show the difference between 2 times

Status
Not open for further replies.

Leea

Technical User
Aug 20, 2001
1
GB
We use Crystal Reports 7 in order to report on our dialling activity. We have a couple of time fields that I want to subtract one from the other to give an elapsed time figure. I have to admit to being totally lost, can anyone help...

The two fields are

Maximum ( {General Information.Logout Time} , {@DataGroup2} )
Minimum ( {General Information.Login Time} , {@DataGroup2} )

Any help would be appreciated.
 
Hi
check the diff date function in cr hlep section for more detail




cheers

pgtek
 
In Crystal 8.5, you'd do

DateDiff ("d", Maximum ( {General Information.Logout Time} , {@DataGroup2} ), Minimum ( {General Information.Logout Time} , {@DataGroup2} ))


Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top