in reply to datetime insertion problem
mySQL accepts NOW() input for datetime fields, and there's no need to mess with formatting it yourself.INSERT INTO mytable (mydatetimefield) values (NOW());
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |