Jump to content

SearchingStar

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by SearchingStar

  1. 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 .

    <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  🙃

×
×
  • Create New...