how to find current year month in php code example
Example 1: php get current year
$currentYear=date("Y");//2019
Example 2: get current month php
current month
//half name in words
date('M');
//full name in words
date('F');
//number
date('m');