Mecha CMS

Date and time.

$date->__invoke()

Maps to $date->pattern().

2.2.0

Example:

$date = new Date('2019-06-25 15:25:16');
echo $date('%~h%:%m%:%s%');

Result:

'15:25:16'