gmdate

Example

 string gmdate ( string $format [, int $timestamp = time() ] ) 

Description

Identical to the date() function except that the time returned is Greenwich Mean Time (GMT).

Return Values

Returns a formatted date string. If a non-numeric value is used for timestamp, FALSE is returned and an E_WARNING level error is emitted.