Re: [PHP] date() doesn't return system date?

2002-08-15 Thread Kae Verens
adi wrote: > incorect sintax maybe 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 ti

Re: [PHP] date() doesn't return system date?

2002-08-15 Thread adi
incorect sintax see: Example 4. date() Formatting /* Today is March 10th, 2001, 5:16:18 pm */ $today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm $today = date("m.d.y"); // 03.10.01 $today = date("j, m, Y"); // 10, 3, 2001 $today