Mecha CMS

Date and time.

$date->__invoke()

Maps to $date->pattern().

2.2.0

Example:

$date = new Date('2019-09-18 16:48:38');
echo $date('%~h%:%m%:%s%');

Result:

'16:48:38'