Menu
When I run this code:
[code=php]echo ‘<br />Current UTC ‘.gmdate(“H, i, s, m, d, Y”);
$gmtmst = mktime(gmdate(“H, i, s, m, d, Y”)); // get current UTC time
echo ‘<br /<pre>’;
print_r(getdate($gmtmst));
echo ‘</pre>’;
I get this:
[CODE]Current UTC 06, 00, 47, 02, 28, 2008
Array
(
[seconds] => 47
[minutes] => 0
[hours] => 6
[mday] => 27
[wday] => 3
[mon] => 2
[year] => 2008
[yday] => 57
[weekday] => Wednesday
[month] => February
[0] => 1204120847
)
WTF?