count the brackets . also helps to put spaces into things. try this one strtotime($dt . ' - 60 days'); PHP:
strtotime('-60 days') PHP: . should be ok for you. check this http://php.net/manual/en/function.strtotime.php.
You would do: strtotime('-60 days', strtotime($dt)); http://php.net/manual/en/function.strtotime.php The second parameter is a timestamp. Also, 2012/10/26 is a poor data format for a date because it is ambiguous between the 1st and the 12th of any month.
i am confused now which one to use. because both methods works but manual says its ok Four digit year, month and day with slashes YY "/" mm "/" dd "2008/6/30", "1978/12/22" http://www.php.net/manual/en/datetime.formats.date.php