Re: date() doesn't return system date?
| From: | Kae Verens | Date: | Thu, 15 Aug 2002 14:52:25 +0000 |
| Subject: | Re: date() doesn't return system date? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112767@lists.php.net to get a copy of this message | ||
adi wrote:
incorect sintaxmaybe I wasn't precise enough: when I place date("h:i a") in a page on my server, and view it in a browser, I am returned: "02:51 pm". According to the server itself, though (logged in through ssh), using "date", it is 3:51. gmdate("h:i a") returns the same 2:51 time. They are both one hour off from the server time.
-- Kae Verens http://www.contactjuggling.org/users/kverens/ http://www.contactjuggling.org/ (webmaster)when I type "date" in a console on my server, it returns a different time than that returned by date() or gmdate() - any idea why?