So members register a timezone from a HTML select list (values -5, +6.5 and so on), and I am going to do a simple +/- in the timestamp on the page where it is. Basically, this is what I came up with (with help from Google, my dear friend):
That is my problem, I know but it's because my database prints "+10" and "-5" for users timezone, which I then split up and try to use. Are you sure there aren't any ways I can do that?
I'm sorry, I don't quite understand. Let's say I have a timestamp that is 18:00 or something GMT+0 or originally, and for people who are American, I want it to be 12:00 or 13:00, now I've got in my database "-6" for that user, how do I use that to make 18:00 go to 12:00?
Basically, this is what I came up with (with help from Google, my dear friend):
Timeone works, but not timetwo. Could anyone try to help me?
I don't have access to run PHP at the moment but try this: