gmdate()
function gmdate(string $format, int $timestamp = null): string
Formats a GMT/UTC date and time.
Parameters:
$format(string)$timestamp(int), defaultnull, optional
Returns: string
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how gmdate is implemented in the compiler, see the internals page.