Well, if you want to compare only with mysqltimestamp, you can do like this:
$result = strtotime($mysqlCreateAt);
strtotime converts your timestamp to a unix timestamp, and then you can compare it at any time.
If you want to convert this to utc, try the following:
$date = new DateTime();
$date->setTimestamp(1443001794);
var_dump(gmdate('Y-m-d H:i:s', strtotime($date->format('Y-m-d H:i:s'))));
open UTCtimestamp
source
share