Mecha CMS

Date and time.

$date->day()

Get day.

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

Example:

$date = new Date('2019-06-25 14:24:18');

$A = $date->day;
$B = $date->day("");
$C = $date->day(7);

Result:

$A = '25';
$B = 'Tuesday';
$C = '03';