I want to input holiday once for next every year. How to schedule a yearly repeating holiday when i change year?. example : Xmas
I have a code :
<?php
for($i=2013; $i<=2020; $i++)
{
$datetime = new DateTime("$i-12-25 00:00:00");
echo "25 Dec $i<br>";
}
?>
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.