jmahdi Posted November 25, 2011 Share Posted November 25, 2011 Hi, I'm trying to find a way to get the difference between two times in my form, the problem arises because I'm using a 12 hour format with AM/PM to define day time. what is the best way to do this?? thanks Link to comment https://forums.phpfreaks.com/topic/251762-time-difference-subtraction-in-javascript/ Share on other sites More sharing options...
ManiacDan Posted November 25, 2011 Share Posted November 25, 2011 The date object can parse string dates into timestamps. Link to comment https://forums.phpfreaks.com/topic/251762-time-difference-subtraction-in-javascript/#findComment-1291052 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.