How can I format the time that is inserted into a mysql field? Here is the code I use (this is on a page that uses a form to insert into the database:
INSERT INTO ... , date=now()";
I have to use the now() function to insert the current date and time into the field and it works very well. My problem is this: my webhost's sql server is in Kansas, which is on the central time zone. Every thing on my website should show up by eastern time so here is where the problem occurs: If I post a article through the form at 1:00PM, it shows up as posted on 12:00PM, is there any way to fix it so it shows up as 1:00PM? Is there a function to add an hour to whatever the time is? I am clueless here - please help.