Hello, I'm hoping there's a really easy way to subtract one hour from the time I'm entereing into my table. the code I have is: $time = (date ("h:i:s A")); Code (markup): But the server is in eastern time and I'm in central time. Please tell me it's easy! Thanks, -- alhen
You just need to take off 3600 seconds from the timestamp: $time = date("h:i:s A", time()-3600); PHP: PHP5 has a new date object and timezone handling functions but unless you're working with times a lot, that's probably overkill.