date ()
Posted: Wed Nov 27, 2002 8:23 pm
I'm using the date () function for a news script, and I'm doing date ("m.d.y h:i a") and the hour is 3 ahead of mine because it's using the wrong time zone. How would I make it -3 hours?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
date ("m.d.y h:i a", time() -10800);