Mendix always stores dates in the database as UTC. You can have the correct date/time shown to the user by setting the Localize property to "Yes" on the attribute in the domain model. Additionally, this will also be adjusted based on the timezone set for the logged in user.