I am trying to print 1 year ahead of current date in YYYY-MM-DD format using DateTime:
DateTime
echo \'time = \' . (new DateTime(time() + (60 * 60 * 24 *