function date_gmgetdate in Date 6.2
Same name and namespace in other branches
- 5.2 date_php4/date_php4.inc \date_gmgetdate()
- 5 date.inc \date_gmgetdate()
- 6 date_php4/date_php4.inc \date_gmgetdate()
Like date_getdate with no GMT conversion.
File
- date_php4/
date_php4.inc, line 878
Code
function date_gmgetdate($timestamp = FALSE) {
if (!$timestamp) {
return array();
}
$array = date_getdate($timestamp, 'UTC');
$array[0] = $timestamp;
return $array;
}