Forum Moderators: coopster
I want to insert the current time into the database into a time type column basic format hh:mm:ss
The web server is located on the East Coast and I'm on the West Coast, so I want to subtract three hours. There seem to be about 80 ways to do this but I can't get the syntax right on any of them.
Appreciate any syntax snippet of the form
insert into contacts set cur_time= ...
also, there's the problem of people submitting at 2 in the morning. Just subtracting three hours gives a negative time. Maybe I should pre-process in php.
[edited by: figment88 at 8:00 pm (utc) on Sep. 22, 2005]