Do you have the “Use system context” option set to “true” in “Import CSV”?
It maybe you need to change this to “false” so it uses your context when it runs your microflow.
Replace the Java date time operations evaluateExpression stuff, as it does differ
com.mendix.core.Core.evaluateExpression(
somecontext,
{
},
"[%CurrentDateTime%]"//begin day or whatever other date ops
)
Is there a timezone set for ScheduledEvents, application and/or user? who hits the button?
Also, my own defined best practice is always non-localize a DateTime attribute. as opposite of the default setting for DT attributes. I only localize it if the Timezone needs to be taken into account (which is often not the case)