It is really not so strange. Check the way you store the date in Mendix. Is the date attribute set to localize yes or no? My guess it is set to standard (Yes). This means that when you create a date it will localize this date and store it. So when creating a date for 22-10-2014 in the Netherlands timezone Mendix will store an UTC date. And since the localize date is 22-10-2014 00:00 hours it will substract two hours and store the UTC date of 21-10-2014 22:00 hours. It does not matter if you do need the time, because Mendix will store it anyway.
If you want only the date make sure that the attribute is set to localize no and make sure that you do everything in UTC. This way you can avoid these issues.
Also make sure that you read this: https://world.mendix.com/display/refguide4/DateTime+handling+FAQ
Regards,
Ronald