Hi, I am trying to add months let's say if the planned date is 13th January 2024 if add 1 month i want it to be 13th February 2024.
But using this code adding 1 month becomes 1st February 2024 instead. So how should I fix this issue?
This is the code that I used: formatDateTime(addToTime(coalesce(items('Apply_to_each_2')?['Planned Date'], utcNow()), 1, 'Month'), 'yyyy-MM-ddTHH:mm:ssZ')
note: the code I gave worked fine. the example I stated above is just an example, it is not in the format of the code I shared.