www.webdeveloper.com
Results 1 to 2 of 2

Thread: calculate time elapsed using javascript?

  1. #1
    Join Date
    Oct 2008
    Posts
    72

    calculate time elapsed using javascript?

    hi,
    there is any way to calculate the time in hour elapsed
    between two hours?
    thanks a lot for your help

  2. #2
    Join Date
    Oct 2006
    Posts
    939
    alert((parseInt('5pm')-parseInt('3pm')))


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles