how to display date in dd-mmm-yyyy format in html for type="date"
<!DOCTYPE html>
<html>
<head>
<title>
How to get input type date
in dd-mm-yyyy format ?
</title>
<style>
body {
text-align: center;
}
h1 {
color: green;
}
</style>
</head>
<body>
<h1>GeeksforGeeks</h1>
<h3>
Get input date in
dd-mm-yyyy format
</h3>
<label for="Date of Birth">
Enter the Date:
<input type="date" name="date">
</label>
</body>
</html>