gmDateToString()
gmDateToString( $gmdate, $format = '%Y-%m-%d %H:%M:%S') : string
Get a GM Date in the format YYYY-MM-DD HH:MM:SS and returns a string with the given format in the current timezone.
Parameters
$gmdate | ||
$format |
Returns
string —Formated GMDate into the local time