PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Unfortunately, the above doesn't take into account DST. Like if you do UTC+1 (Germany), right now it will say 1 am, but Germany is in CEST right now, and the time is 2 am . If the server resides in the timezone you wish to print the time for, you can know if DST is on by the output of date("I") though. But I don't think that is what you are wanting to do.
What I'm trying to do is,, my form when some one enters information it puts a time stamp on it, The server is in the UK and I am in the US (EST) I would like the form to show EST so I need to offset it -5 hours. Thanks in advance