Date inconsistency while setting date to a particular attribute in microflow

0
Hi, I am setting up one of my date time attribute in microflow using this "trimToDaysUTC([%EndOfCurrentMonth%])" but I am having inconsistency issues. Some time it is setting up correct date suppose today is 24 April 2024 (4/24/2024) then end of month is 30 April which is correct. But some times that attribute has value 1 May 2024 (5/1/2024). Please let me know how to solve this issue. Thanks!
asked
1 answers
0

Probably some localization issue, if you use trimToDaysUTC, you probably also want to use [%EndOfCurrentMonthUTC%] instead of [%EndOfCurrentMonth%] 

answered