简体   繁体   中英

How to AddMonths in Logic Apps

I read the date-time Logic App reference, but it has no AddMonths function, as you can see here:

https://learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#date-and-time-functions

Currently the function used is AddDays(-30) and it "failed" in 2022-03-01. It reached 2022-01-30 because February/2022 has just 28 days.

How can I solve it?

There is function called subtractFromTime , it works fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM