note 47193 deleted from function.date by derick
| From: | derick@php.net | Date: | Sun, 12 Jun 2005 11:44:55 +0000 |
| Subject: | note 47193 deleted from function.date by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90296@lists.php.net to get a copy of this message | ||
Note Submitter: dave at corecomm dot us
----
"tbellefy at yahoo dot com" and "post at penest dot no" needed to change
timezones with date and used mktime(). That certainly works, but all the individual date() calls
seems like a lot of effort.
Consider something like:
<?php $formatted=date($date_format_string, time()+3600*$local_time_offset_hours); ?>
instead.