the problem is that the mysql console shows me the date time as: 2000-01-01 09:10:00 The result in when is: 2000-01-01T08:10:00.000Z global.time_zone and session.time_zone is set to +00:00 and the server is in Germany. This is the Node.js code:
connection.query('select e.date from events as e', function(err, result){
res.end(JSON.stringify(result));
When i set the system time to UTC it works fine but it would be better to have a solution that work doesn't care about the systems time_zone. Any help or idea is appreciated :D