Ver original<?php $hoy = '10/1/2013';$f = explode('/', $hoy);$ayer = mktime(0,0,0, $f[1], $f[0]-1, $f[2]);echo date('Y-m-d', $ayer); //2013-01-09