note 46105 deleted from function.date by tularis
| From: | tularis@php.net | Date: | Sun, 30 Jan 2005 14:43:51 +0000 |
| Subject: | note 46105 deleted from function.date by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84227@lists.php.net to get a copy of this message | ||
Note Submitter: i-bomb
----
Rehan S. Alvi,
Change your code as follows:
$date = date("D M j G:i:s T Y", time()+60*60*$diff);
Where $diff is the time offset (in hours) of the two locations. That's 10 in your case.
Hope this helps.