$db = new mysqli('localhost', '....', '....', '....');
$db->set_charset("UTF8")
THEN I HAVE ADDED ONE OF THE "COMMANDS" FROM THE FIRST POST
$stmt = $db->prepare(INSERT INTO ... (A,B,C) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE A = VALUES(A), C = VALUES(C), LastUpdate = NOW();
$stmt->bind_param(iss, ......);
$stmt->excecute();
Then if i check in Mysql the Timestamp is convertet to a date, but its a wrong clock, becouse its still use the Time_zone from the server and not my thet i have set