JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://code.jquery.com/ui/1.8.20/themes/base/jquery-ui.css">
<html lang="en">
<head>
<meta charset="utf-8">
<title>Datepicker - Format date</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script>
$(function() {
$(".datepicker").datepicker({ dateFormat: 'dd/mm/yy' });
});
</script>
</head>
<body>
<p>Start Date: <input type="text" name="dp1" class="datepicker" size="30" <td><input type="date" name="txtday" /size="10" min="<?php echo date('Y-m-d'); ?>"required >
></p>
<p>End Date: <input type="text" name="dp2" class="datepicker" size="30" <td><input type="date" name="txtday" /size="10" min="<?php echo date('Y-m-d'); ?>"required >
></p>
</body>
</html>