2014-07-10 昨日の日付 昨日の日付を得る - phpspot date('Y/m/d H:i:s', strtotime('-1 day')); // 昨日の日付 なるー ちなみにm, dは0埋めの2桁。