4images Forum & Community
General / Allgemeines => Programming => Topic started by: tester on May 11, 2009, 11:19:19 AM
-
does anybody know how to get gmt timestamp in php? :roll:
-
hi,
http://us2.php.net/gmmktime
-
tnx,
but i'm looking 4 something like time() function that returns current gmt timestamp.
and it looks like php doesnt have one %-|
-
As Nicky pointed out gmmktime() (http://www.php.net/manual/function.gmmktime.php) should do it (note, all parameters are optional, if omitted, it will return current GMT unix timestamp)
-
ops, true
tnx!