small fix of calculating time difference in javascript

CLOSED
Bids
19
Avg Bid (USD)
$10 / hr
Project Budget (USD)
$2 - $8 / hr

Project Description:
Hi

i have one page in which i have the date time picker . When the user pick the data and time it will check the current date and time and give its difference . The whole script is working ok but if the time difference is less it gives me days difference -1699 , I will be running this using phonegap .

I have all the source code with me , you just need to fix that small bug .

Thanks

Hours of work: Unspecified Project Duration: 1 - 4 semanas Skills required:
Javascript, PhoneGap
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$15 / hr
Hours: 3 hr/ week
$10 / hr
Hours: 2 hr/ week
$20 / hr
Hours: 3 hr/ week
$16 / hr
Hours: 1 hr/ week
$15 / hr
Hours: 40 hr/ week
$10 / hr
Hours: 3 hr/ week
$5 / hr
Hours: 3 hr/ week
$5 / hr
Hours: 3 hr/ week
$4 / hr
Hours: 40 hr/ week
$10 / hr
Hours: 3 hr/ week