Time difference calculation in crystal reports 7.0

hi . i want to calculate time difference between two times in crystal reports 7.0 .. (i know in 8.o onwards crystal gave formula DateDiff(,,)).. i have downloaded u2ldtdif.dll .. but not usefule since i can not able to convert result datetime value into time ...i have time stored in database..
1.  Start time  10:00:00 AM
2.   end time   11:30:00 AM

result should be 1:30 Hrs.

Can anybody help me ..
amlooksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
You can download the updated date functions from

http://support.crystaldecisions.com/communityCS/FilesAndUpdates/UFLDateAdd.exe.asp

mlmcc
0
amlooksAuthor Commented:
hi .. i have searched all ufls .. but in vain .. how can i use dateadd to get time difference between two dates .. there is datediff function ..(ufl) .. but it returns in
"xx days xx hours xx minutes xx seconds" which i can not use ...  since my application is of time sheet .. user will enter only time spent during the day .. Now for reporting i have to do it in crystal .. If u can give any example ,, it will be great help ..
0
NatashaVCommented:
Is your start/end time a datetime type or a string?
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

mlmccCommented:
Are you looking for functions to calculate number of hours worked in a day given the start and end times?

What format will the data be in?

mlmcc
0
amlooksAuthor Commented:
hi .. i am using standard datetime field in access.. i am storing work done from x to y time .. i am storing like
Start work .. 10:00:00 AM (datetiem field)
End Work..     2:30:00 PM  (datetiem field)
so work done is 4:30 Hrs.. like this i have to show total hours in a day & also for each work .. I have downloaded one sample from cyrstal but it is in string format .. not datetime format ..

amit
0
mlmccCommented:
I'll see if I can develop one.

mlmcc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
amlooksAuthor Commented:
Thanks a lot ..
0
mlmccCommented:
Glad I could help

mlmcc
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.