<html>
<body>
$date=date_create();
date_isodate_set($date,2013,5);
echo date_format($date,"Y-m-d") . "<br>";
date_isodate_set($date,2013,5,2);
echo date_format($date,"Y-m-d");
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_date_isodate_set by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:22:39 GMT -->
</html>