[php]
echo date(“Y-m-d”, strtotime(“next year”, mktime($domain_data)));
$domain_data= $_SESSION[‘renew_domain’];
$_SESSION[‘renew_domain’]= date from database ( 2018.06.22)
[/php]
my output is 2019.06. 13 - for some reason the day is changed to 13( all of the dates). Its always 13
Any ideas?