<?php $begin = new DateTime( date("Ym01") ); $end = new DateTime( date("Ymd") ); for($i = $begin; $i <= $end; $i->modify('+1 day')){ echo $i->format("Ymd")."\n"; }
To embed this project on your website, copy the following code and paste it into your website's HTML: