php date format dd/mm/yyyy
date("d/m/Y", strtotime($str));
format dd mm yyyy for input 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>Student Tutorial</h1>
<h3>
Get input date in
dd-mm-yyyy format
</h3>
<label for="start">
Enter the Date:
</label>
<input type="date" name="begin"
placeholder="dd-mm-yyyy" value=""
min="1997-01-01" max="2030-12-31">
</body>
</html>
html input date format
<label for="start">Starting Date(s): </label>
<input type="date" id="start" name="starting-date"
value="(DATE)"
min="(DATE)" max="(DATE)">
<!-- Replace (DATE) with corresponding date you wish to be inputted into the code -->
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us