select FROM_UNIXTIME(UNIX_TIMESTAMP(),'%a %b %d %H:%i:%s UTC %Y');
-- convert unix timestamp colomn to datetime select FROM_UNIXTIME(columnInUnix) from yourTable