How can I offset php time in strftime?
-
On the top of my website I have the current date and I use a simple php stroing as follows:
<?php echo strftime("%B %d, %Y");?>
The problem is that my server is located in GMT -7 and I live in GMT +8. There must be an easy way to solve this in PHP, but I can’t find much on google that makes sense.
Anybody know how to do this?
Tks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How can I offset php time in strftime?’ is closed to new replies.