$days = 10; $then = localtime(time() + $days * 86400); print $then;