lundi 22 août 2016

PHP Mysql timestamp wrong format

ive got this in as my php-code on 2 sides:

date_default_timezone_set("Europe/Berlin");
$time_stamp = date('Y-m-d h:i:sa');

i insert the value at the first page, and at the second i update the join_timestamp. But the time-formats are diffrent idk why.

enter image description here

Aucun commentaire:

Enregistrer un commentaire