Link to home
Start Free TrialLog in
Avatar of Bob Schneider
Bob SchneiderFlag for United States of America

asked on

JavaScript new Date() Value

Hi.  I need to input a classic asp value like 13:23:35.2 (as dRaceStart) into a javascript function (a time-of-day value with no reference to date) and have it calculate the difference in h:mm:ss at any point in time after that.  I have what looks like a nice js script to do that with but it starts with startedTime: new Date(); and I am pretty weak on js

I am wondering what modifications I have to do to my classic asp value above to get the function to work when I replace startedTime: new Date(); with startedTime: <%=dRaceStart%>;

Thank you very much!
ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia 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
SOLUTION
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
SOLUTION
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
Avatar of Bob Schneider

ASKER

Thank you all so much!