Link to home
Start Free TrialLog in
Avatar of Gary
GaryFlag for Ireland

asked on

Difference between dates

Having 30 Aug 2012 19:15:00 and 30 Aug 2012 19:15:45 how can I calculate the difference between the two dates in the format hh:mm:ss
I'm having trouble getting the date recognised as a date to do the datetime.parse.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is it a string or a date object? you might have to do the conversion.
Avatar of Gary

ASKER

Works great, thanks