Quote:
Originally Posted by pawe
...
Code:
<?php echo date($s['date_format'], strtotime($row_news['date'])); ?>
But I need to change the timezone in some how? But I can't make it. Iam in sweden and the time is'nt really the same here  ...
|
For -8 hours timezone offset:
PHP Code:
<?php echo date($s['date_format'], strtotime($row_news['date']."- 8 hours")); ?>
See
http://www.php.net/manual/en/function.strtotime.php for more info.