Mecha CMS

Date and time.

$date->ISO8601()

Get ISO8601 date format.

2.0.02.2.0

Example:

$A = (new Date('2019-06-25 14:24:05'))->ISO8601;

Result:

$A = '2019-06-25T14:24:05+07:00';