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!

Crystal 10: Calculate the elapsed time between to dates & times

Status
Not open for further replies.

pggo08

Technical User
Nov 13, 2008
1
US
Using crystal 10. Trying to create a formula to find elapsed time between

PDMTimeToDateTime ({call_req.open_date})
Example: 11/12/08 3:31 pm

and

PDMTimeToDateTime ({call_req.close_date})
Example: 11/12/08 4:35 pm

Thanks for any Help!!
 
you are really in the wrong forum. Use Business Objects Crystal Reports Formulas.

However, to answer your question use the crystal function datediff

datediff("n", ({call_req.open_date}, ({call_req.close_date})

This will return minutes, using h = hours, s = seconds.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top