HTML DOM Input Time stepDown() Method Last Updated : 29 Jan, 2024 Comments Improve Suggest changes Like Article Like Report The Input Time stepDown() method in HTML DOM is used to decrease the value of the time field by the given number. It will only affect the number of minutes (not hours, seconds, or milliseconds). Syntax: timeObject.stepDown( number )Parameters: It accepts a single parameter and it is required. number: It specifies the number of minutes to be decreased. By default, it is decremented by 1.Return Value: It doesn’t return any value. Example: This example shows the workings of stepDown() method. html <!DOCTYPE html> <html> <head> <title> HTML DOM Input Time stepDown() Method </title> </head> <body style="text-align:center;"> <h1>GeeksforGeeks</h1> <h2> HTML DOM Input Time stepDown() Method </h2> <form id="myGeeks"> <input type="time" id="time_id" name="geeks" value="09:25:37"> </form> <br> <button onclick="myGeeks()"> Click Here! </button> <!-- Script to increment the minutes --> <script> function myGeeks() { document.getElementById("time_id").stepDown(3); } </script> </body> </html> Output: Supported Browsers: Google ChromeInternet Explorer 10.0 +OperaSafari Comment More infoAdvertise with us Next Article HTML DOM Input Time stepDown() Method M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML-DOM Similar Reads HTML | DOM Input Week stepDown() Method The Input Week stepDown() method in HTML DOM is used to decrease the value of the week field by the given number. This method will only decrease the value of weeks not years. Syntax: weekObject.stepDown( number ) Parameters: It accepts single parameter number which is mandatory. It specifies the num 1 min read HTML | DOM Input Date stepDown( ) Method The Input Date stepDown() method is used for decrementing the value of the date field by a specified number. It can only be used on the days and not on months and years. Syntax: inputdateObject.stepDown(number) Parameter Used: number: It is used to specify the number of days the date field should de 1 min read HTML | DOM Input Month stepDown() Method The DOM Input Month stepDown() method in HTML DOM is used to decrease the value of the month field by the given number. This method will only decrease the value of months not years. Syntax: monthObject.stepDown(number) Parameters: It accepts a single and required parameter: number It specifies the n 1 min read HTML | DOM Input Range stepDown() Method The DOM Input Range stepDown() method in HTML DOM is used to decrease the value of the slider control by the given number. Syntax: rangeObject.stepDown(number) Parameters: It accepts a single and required parameter: number: It specifies the number of slider control to be decreased. By default, it is 1 min read HTML DOM Input Time select() Method The input Time select() method in HTML DOM is used in selecting the content of the time text field. Syntax: timeObject.select() Parameters: It does not accept any parameter. Return Value: It does not return any value. Example: This example uses the input Time select() method to select the content i 1 min read HTML DOM Input Week stepUp() Method The Input Week stepUp() method in HTML DOM is used to increase the value of the week field by the given number. This method will only increase the value of weeks not years. Syntax: weekObject.stepUp( number )Parameters: It accepts a single parameter number which is mandatory. It specifies the number 1 min read HTML | DOM Input Time step Property The DOM Input Time step Property is used to set or return the value of the step attribute of a number field. The step attribute in HTML is used to specify the legal interval for second and milliseconds in the Time field. The step attribute could be used with min and max attribute for creating a lega 2 min read HTML DOM Input Month stepUp() Method The Input Month stepUp() method in HTML DOM is used to increase the value of the month field by the given number. This method will only increase the value of months not years. Syntax: monthObject.stepUp( number )Parameters: It accepts a single parameter which is required. number It specifies the n 1 min read HTML | DOM Input DatetimeLocal stepDown() Method The Input DatetimeLocal stepDown() method in HTML DOM is used to decrements the value of the Local datetime field by a specified number. It can only be used on the Minutes. Years, months, days, hours, seconds or milliseconds are not affected by the stepDown() method. Syntax datetimelocalObject.stepD 2 min read Like