Be aware of the following:
Localization of a DateTime attribute and server, application and user time zone can result in different time values of your set date.
This learning module will help you to understand more of the behavior: https://academy.mendix.com/link/module/374/lecture/3046/7.1-Introduction
Can you try changing the Localized to No, now it would take the browser time