<?php
$today_day = 28;
$day = date("d-m-Y", mktime(0,0,0,2, $today_day,date("Y")));
$firstday=$day;
echo "firstday=$firstday\n";
echo "m=".date("m", strtotime($firstday)) . " | Y=" . date("Y", strtotime($firstday))."\n";
echo $day ."\n";
$today_day++;
$day = date("d-m-Y", mktime(0,0,0,date("m", strtotime($firstday)),$today_day,date("Y", strtotime($firstday))));
echo "m=".date("m", strtotime($firstday)) . " | Y=" . date("Y", strtotime($firstday))."\n";
echo $day ."\n";
$today_day++;
$day = date("d-m-Y", mktime(0,0,0,date("m", strtotime($firstday)),$today_day,date("Y", strtotime($firstday))));
echo $day ."\n";
?>
preferences:
45.21 ms | 402 KiB | 5 Q