I have a problem with PHP IMAP timezones.
I have a server that download emails from my users accounts. And than the users can view their email on my website.
I set the php timezone of my server to UTC 0 and now i want that my users see the receiving time of the emails to their timezones. But the problem is the summer time because the timezone change of 1 hour.
Example:
GMail give me an email with received time in UTC (0) at 7:00.
In Italy, the timezone is UTC +1 so i can add 1 hour to this time, then it will be 8:00.
But now in Italy we have the summer timezone so the UTC must be +2 not +1 but not all countries have this. So i ask if exists maybe a online service that can give me the correct offset that i must add to the hour for showing the correct time.
Thank you in advance.