0
What’s wrong with my formula to get the result down? I wish it had worked for all day 31 and I was correcting the month that there was no day 31.
for ($i = 0 ; $i <= 12 ; $i++){
$tempo = strtotime('03/31/1990'.'+'.$i.' month');
echo date('d/m/Y', $tempo);
echo '<br>';
}
Upshot:
31/03/1990
01/05/1990
31/05/1990
01/07/1990
31/07/1990
31/08/1990
01/10/1990
31/10/1990
01/12/1990
31/12/1990
31/01/1991
03/03/1991
31/03/1991
It is to stay fixed the day 30 or 31 this?
– rray