Show Output
<!DOCTYPE html> <html lang="en"> <head> <title>HTML5 Datetime Input Type</title> </head> <body> <form> <label> Date & Time: <input type="datetime" name="mydatetime"> </label> </form> </body> </html>