Clanbite

clanbite_matches_format_datetime_local( string $mysql_gmt, string $format ): string

Format a stored GMT datetime string for display using the site timezone.

Parameters

$mysql_gmt (string) Required

Datetime in GMT (MySQL-compatible string).

$format (string) Required

PHP date format passed to wp_date().

Returns

string Empty string when the value cannot be parsed.

Defined in inc/extensions/matches/functions.php