Javascript examples for DOM HTML Element:Input Datetime Local
Input DatetimeLocal stepDown() Method - Decrement the minutes by 1 (default):
<!DOCTYPE html> <html> <body> Date: <input type="datetime-local" id="myLocalDate" value="2014-11-16T15:00:33"> <button onclick="myFunction()">Test</button> <script> function myFunction() {/*from w ww.j a v a2 s. c o m*/ document.getElementById("myLocalDate").stepDown(); } </script> </body> </html>