PHP date Q?
PHP date Q?
- Started
- Last post
- 5 Responses
- Ginja
I'm playing around with a script that has the date in it, date("M j, Y H:i") and I need to add 5hours because its wrong at the mo.
Is there a simple way to do this?
Thanks in advance.
- Ginja0
thanks acescence, but i started with that and done it wrong because of lack of knowledge.
- UndoUndo0
look at 'Z' charcter in the format table (for date())- it is the number of seconds for the offset
- acescence0
http://www.v7n.com/forums/coding…
the second post on that page has the code you are looking for