mysql - How to store current time in database -


i want have field in mysql current time must auto-generated, when record inserted it.

please me ........

from mysql:

in create table statement, first timestamp column can declared in of following ways:

with both default current_timestamp , on update 

current_timestamp clauses, column has current timestamp default value, , automatically updated.


Comments