Date::now()->subDay()->format('Y-m-d') code example Example: show date php by letters check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html