
<html>
	<head>
    <title>Recent Articles</title>
	<link rel="stylesheet" href="//code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css">

<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>		
	

	
	</head>
	
	<body>
	<div class="col-md-6 well">
	<form class="form-inline" method="POST" action="">
	<input type="text" id="datepicker" class="form-control" placeholder="YYYY/MM/DD"  name="date1" value="<?php echo isset($_POST['date1']) ? $_POST['date1'] : '' ?>" />
</form>
</div>

<script>
	$(function(){
    $("#datepicker").datepicker({
        dateFormat: "yy-mm-dd"
    });
});
</script>
</body></html>
