I have one mysql DB saving time for every record with GMT time for every user. like
id user_id date_added
1 1 2016-06-08 12:22:19
2 2 2016-06-08 11:22:14
3 4 2016-06-08 11:02:09
4 1 2016-06-08 10:12:11
I also have table saved timezone for each user like
id user_name timezone
1 user1 Pacific/Midway
2 user2 Asia/Dubai
now i want to calculate real time for user record using above time zone in PHP.
i tried many examples but not working cause some zone are + and some are -
Thanks