Ich mache echo date("d.m.Y", strtotime("-1 day"));