<?php $i = 15; $dt = new DateTime(); $interval = new DateInterval('P'.abs($i).'W'); ($i < 0) ? $dt->sub($interval) : $dt->add($interval); echo $dt->format('d-m-Y');
You have javascript disabled. You will not be able to edit any code.