trimToDay using local time even when localize is set to no

Hi There, I have a microflow that is taking a datetime attribute set by the user in the UI, and then trimming it to days using trimToDays(). However for some reason the microflow is localizing the attribute even though I have set localize to 'no'. Here is the example: The user sets the date and time in the UI to April 27 10:00. After the microflow executes and applies the trimToDays() function the date is set to April 26 22:00! Any ideas why this might be happening? Thanks!
1 answers


Try to use the equivalent UTC function: trimToDaysUTC. This will use the non localized calendar for the trimming.