_fdatetime

Format a date/time

Parameters
string $dateTime = ''

A date/time to be formatted

#
string $format = ''

The date/time format; The config variable will be used if it is not passed

#
Returns
string

The formatted date/time