I need to calculate time difference between two time pickers (not datetime picker). To create time picker I have used input type as time .
<input type="time"class="form-control" name="eq_pf" id="eq_pf" value="">// from time<input type="time"class="form-control" name="eq_pt" id="eq_pt" value="">// to time
I have searched and tried many codes but getting NaN or undefined alert.
PS: In database field is of type time
Please do needful, the great Genius mind over here 🙂 to a pure newbie  🙃
How to calculate time difference between two time picker ?
in JavaScript
Posted
Hi,
I need to calculate time difference between two time pickers (not datetime picker). To create time picker I have used input type as time .
I have searched and tried many codes but getting NaN or undefined alert.
PS: In database field is of type time
Please do needful, the great Genius mind over here 🙂 to a pure newbie  🙃