Posts by lwb • 61 points
2 posts
-
0
votes2
answers5888
viewsA: Time calculation based on GMT and daylight saving time
I managed to solve the problem. Follow the code I used in the solution! <?php $data_inicio = '2014-11-12 15:01:01'; $original_timezone = new DateTimeZone('UTC'); $datatime = new…
-
5
votes2
answers5888
viewsQ: Time calculation based on GMT and daylight saving time
I have a problem where I need to calculate the time in a certain place in the world. The calculation should happen and the only information I have at hand is GMT of the site. EX: -1, 2, -3, etc. I…