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

subtract dates for duration

Status
Not open for further replies.

MARTINRODDY

Programmer
Apr 3, 2001
30
US
I am subtracting two dates to get the duration in a certian state. The duration will be in seconds.

Some people have suggested using the:

DateDiff(IntervalType,StartDateTime,EndDateTime)

This is perfect, brillant piece of functionality. The only problem I have is the this function is rectricted to Crystal 8 and I am developing in Crystal 7.

Is there any patchs available to Crystal 7 for this ??? Or has anyone got code that can do this in ver 7??????

Thanks alot.
Martin

 
Is the data already in a seconds?

If so, then simply subtract the two fields and convert it to the format you want.

Darrick
darrick3@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top