'Force user to enter only hours in Input=Time and disable Minutes

In my application the Time will always be like HH/00/00. So users will only need to enter the hour value as the minutes will be 00. I could not find a way to change the format of the input=time to only HH.

I found some articles about assigning step value but it doesn't work.

Any idea about preventing users to select minutes and force him to only select hours?

<div class="md-form mx-5 my-5">
    </div>

  <label>Choose your time</label>
  <input type="time"  /

Time



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source