mysql - Current_Timestamp on different time zone -
i made table this:
create table options( id medium int not null auto_increment, email varchar(254) not null, created_at datetime default null, primary key(id) );
however.. after inserting value like:
insert options values(0,'test@test.com',current_timestamp)
i got created_at column value : 10:29 right time 16:29.
i believe that's because server/db located in , i'm in brazil.
is there way my current time when inserting values table?
Comments
Post a Comment