try
var diff = ( new Date("1970-1-1 " + end_time) - new Date("1970-1-1 " + start_time) ) / 1000 / 60 / 60;
More Related Contents:
- Get first and last date of current month with JavaScript or jQuery [duplicate]
- How can I obtain the local time in jQuery?
- How to tell .hover() to wait?
- JavaScript NTP time
- CSS or jQuery : How to get visible top [duplicate]
- Get this error: “Uncaught TypeError: Cannot read property ‘0’ of undefined”
- Any Javascript GURU here to make this Script ? If Anchor is Changed Redirect the Page
- How can I determine the direction of a jQuery scroll event?
- Dynamically load JS inside JS [duplicate]
- Get class list for element with jQuery
- How to disable HTML links
- What is the cleanest way to get the progress of JQuery ajax request?
- How to detect window.print() finish
- How to force reloading a page when using browser back button?
- (Deep) copying an array using jQuery [duplicate]
- How to get nth-child selector to skip hidden divs [duplicate]
- Does .css() automatically add vendor prefixes?
- how to convert this nested object into a flat object?
- Replace only text inside a div using jquery
- jQuery Deferred and Dialog box
- How can I change the title of the document during .ready()?
- Convert Hex to RGBA
- Javascript Code works in jsfiddle and but not in the Browser [closed]
- How to trim() white spaces from a string?
- JavaScript event registering without using jQuery
- How to unbind a specific event handler
- How do I detect the inherited background-color of an element using jQuery/JS?
- Changing cursor to waiting in javascript/jquery
- Bootstrap modal hide is not working
- Why do functional pseudos such as :not() and :has() allow quoted arguments?