UTC timezone - timezone user
I store my database value in UTC as a timestamp and retrieve it in my app.
But I need to know the difference to subtract/add the user's time zone.
So... I managed to do this by creating 2 timestamp, (current timestamp in UTC - current timestamp) and adding/subtracting the value stored in the database.
But I would like to know if there is any simpler way to do this, I thought about saving the date as a string ...
Does anyone have any tips or a better way to do such a thing?