Mecha CMS

Date and time.

$date->month()

Get month.

2.2.0
$date->month($type = null);

Example:

$date = new Date('2019-09-18 16:15:17');

$A = $date->month;
$B = $date->month("");

Result:

$A = '09';
$B = 'September';