Hello! I'm making script where users will be able to buy premium account for 30 days. But I don't know how to set date (+30 day's form now) ??
<?php $month_30 = mktime(0, 0, 0, date("m") +1 , date("d"), date("y")); echo "One month from now ".date("m/d/y", $month_30); ?> Code (markup): (of course, you can play with this to add 10 days, 2 years, etc. Its pretty self explanatory!)