NOW()->format("Y-m-d") code example
Example 1: php get current year
$currentYear=date("Y");//2019
Example 2: show date php by letters
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html
$currentYear=date("Y");//2019
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html