How do I add and subtract time from forms inputted by users? I'd like to create a time sheet where total hours are calculated. I have a form setup where "time in" is inputted as HH:MM and "time out" as HH:MM. Time Out needs to be subtracted from Time In to get total hours worked. This needs to have AM and PM as well. I was thinking convert it to military time? Don't know how to do this in JS, any links or advice is appreciated. I believe the ScanD function will be employed?