<?php if (class_exists('DateTime')) { $date = (new DateTime('2013-10-31'))->modify('-1 month'); print "2013-10-31, -1 month: {$date->format('m')}"; } else { print 'Not supported.'; }
You have javascript disabled. You will not be able to edit any code.