General / Allgemeines > Programming
php gmt time
(1/1)
tester:
does anybody know how to get gmt timestamp in php? :roll:
Nicky:
hi,
http://us2.php.net/gmmktime
tester:
tnx,
but i'm looking 4 something like time() function that returns current gmt timestamp.
and it looks like php doesnt have one %-|
V@no:
As Nicky pointed out gmmktime() should do it (note, all parameters are optional, if omitted, it will return current GMT unix timestamp)
tester:
ops, true
tnx!
Navigation
[0] Message Index
Go to full version