Mecha CMS

Date and time.

$date->month()

Get month.

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

Example:

$date = new Date('2019-06-25 14:40:23');

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

Result:

$A = '06';
$B = 'June';