Re: Simple Time Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ben Miller wrote:
Probably a stupid question, but hopefully has a simple answer.  Is there a
way to get Grenwich Mean time?  time() and date() functions that I can see
only seem to get date/time from the server, which knowing where that is,
could easily figure out GM time, but.... would rather go the other way.

gmdate -- Format a GMT/UTC date/time gmmktime -- Get UNIX timestamp for a GMT date gmstrftime -- Format a GMT/UTC time/date according to locale settings

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux