Announcements
I have a question, how can I add 6 months or 1 year to today instead of days.
I only have this formula but I don't want days but months inside it.
Example: Today + 6 months
Hi @SOL24
There is no addmonths function.
https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#date-and-time-functions
--------------------------------------------------------------------------------If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.Thanks,Reza Dorrani, MVPYouTubeTwitter
Can I multiply 30 * 12? to get 1 year? likewise for 6 months?
Hi @SOL24 ,
Yes use mul(12,30)
Yes 🙂
Hi @SOL24 This one worked for me just fine. To get a previous date use minus, so in the example below 6 would be -6. utcNow() returns today's date so replace that with your actual date.
addToTime(utcNow(),6,'Month','yyyy-MM-dd')
Hi there,
There is a way to add a specific number of months to a date using the "Add to time" action.
Hope this helps someone
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 426
11manish 308 Super User 2026 Season 2
M Bilal Khan 159