dilnot
asked on
Calculating hours and minutes between two datetime values
Does anyone know of a simple javascript function that will calculate out how many hours and minutes between 2 dates.
The first date is stored in a database but is displayed in a field on a form.
The second date should be today date.
I have had a look at some scripts but they seem to complicated and I cannot work out how to compare with todays date, only with two entered dates.
The first date is stored in a database but is displayed in a field on a form.
The second date should be today date.
I have had a look at some scripts but they seem to complicated and I cannot work out how to compare with todays date, only with two entered dates.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Good luck & have a great day.