<!DOCTYPE html>
<html>
<body>

<?php
$date=date_create();
date_isodate_set($date,2016,5);
echo date_format($date,"Y-m-d");
?>

</body>
</html>