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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -