源代码:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> </head> <body> <form action="demo-form.php"> 生日 (日期和时间): <input type="datetime" name="bdaytime"> <input type="submit"> </form> <br><hr><br> <form action="demo-form.php"> 生日 (日期和时间): <input type="datetime-local" name="bdaytime"> <input type="submit"> </form> </body> </html>
运行结果:
Fmpq工具