I send a timestamp to my my database, and when I get it back it shows me the time 7 hours earlier, because of the local time at the server's location.
I don't want to modify the server time since the timestamp has to show minutes or hours ago to different users in different countries.
The solution would be to add or subtract time depending the country. Is there a way to show the time of the post to different users in different timezones correctly with a simple function?
Or can you give me something to modify the timestamp?