HTML5 datetime-local input type examples




HTML5 datetime-local input type examples

<!DOCTYPE html>
<html>
<head>
<title>HTML5 Datetime-local Input Type examples</title>
</head>
<body>
    <form>
        <label>
            Local Date & Time: <input type="datetime-local" name="mylocaldatetime">
        </label>
    </form>
</body>
</html>

Output