<?php $d = new DateTime("now"); echo $d->format(DATE_ATOM) . PHP_EOL; $d = new DateTime("-1month"); echo $d->format(DATE_ATOM ) . PHP_EOL; $d = new DateTime("-2months"); echo $d->format(DATE_ATOM) . PHP_EOL;
You have javascript disabled. You will not be able to edit any code.