<?php $start = new DateTime("-2 months"); $end = clone $start; $start->modify("first day of this month"); $end->modify("last day of this month"); echo $start->format("Y-m-d")." - ".$end->format("Y-m-d");
You have javascript disabled. You will not be able to edit any code.