Javascript examples for DOM HTML Element:Input Datetime Local
Input DatetimeLocal stepUp() Method - Increment 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 ww w .j av a2 s .c o m*/ document.getElementById("myLocalDate").stepUp(); } </script> </body> </html>