datetime question.

admin

Administrator
Staff member
I added a new field (or column...) to my MySQl table and specified it as "datetime".

I want it to take a value automatically when inserting a new row, by checking the server time.

When it was "date" instead of "datetime" I could use CURDATE() function. What should I use for datetime?

Regards,
Deniz
 
Back
Top