Hello everyone, I have a banking ticket system. I need to perform a card, but I am not able to execute the strtotime function properly to generate the expiration. = \
<?php
$parcelas =11;
$now = "18/07/2018";
for($i = 0, $meses = 1 ;$i < $parcelas; $i++, $meses++){
$vencimento = date("d/m/Y", strtotime("$now +".$meses." months"));
}
?>
the above result begins with: 01/01/1970 The expected result would be 18/07/2018 + 30 days and so on. Thank you guys! :)