note 42525 added to function.strtotime
| From: | andy at rn2 dot php dot net | Date: | Thu, 20 May 2004 02:13:09 +0000 |
| Subject: | note 42525 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-69857@lists.php.net to get a copy of this message | ||
I am trying to modify a php time/date stamp that is in US time to New Zealand time zone knowing
virtually nothing about php.
I was told I can add the time difference in seconds to the following code which would be 68400 but I
can't get it to work.
<?php print(date("F d, Y h:i A",strtotime($rsReplies[$y]["tStamp"]))); ?>
Does anyone want to help out a dummy?
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42525
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42525&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42525&report=yes
Search -- http://master.php.net/manage/user-notes.php