I am using Jade Template Engine
and have two bootstrap TimePickers
. I want to calculate the difference between timings and show the difference in minutes.
TimePickers
used:-
input#monthStartTimepicker.form control.timepicker(name='startTime',type="text", data-template="dropdown", data-default-time="00:00", data-show-meridian="false", data-minute-step="5", data-second-step="5" ,required)
input#monthEndTimepicker.form-control.timepicker(name='endTime',type="text", data-template="dropdown", data-default-time="00:00", data-show-meridian="false", data-minute-step="5", data-second-step="5" ,required)
Any ideas on how to achieve this?