Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

How to add 1 year to a date every year

(0) ShareShare
ReportReport
Posted on by 80

Every January 30th I need to add 1 year to a date, how can I do this? 

I've created a date field that has the starting date, i.e. 01/30/2023 and another field which is equal today. I then have another calculated field that adds a year to the starting date once Today > Starting Date. The problem is how do I deal with it the following year. I'd rather not rely on a workflow copying the calculated field to another field for use the next year but maybe that's the only way. Why does Dynamics make it so hard to work with dates?!

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: How to add 1 year to a date every year

    Hi flydancer1,

    Maybe you need try to use Power automate to create one scheduled flow, which can help you achieve goal easily.

    https://learn.microsoft.com/en-us/power-automate/run-scheduled-tasks 

    1.You can start the flow at 01/31/2023, and run it every month:

    pastedimage1673494690054v1.png

    ===========

    Why run it every month?

    (1) The flow does not support repeat intervals per year

    (2) If a flow is not run within 90 days, Microsoft automatically turns it off.

    2.Then you can use 'Condition' to compare the starting date and Now:

    https://debajmecrm.com/how-to-compare-dates-in-power-automate/ 

    3.Add year and update another date, and use now to update the starting date field.

    -Or you can only use the starting date field, add year and update itself directly.

    https://debajmecrm.com/how-add-or-subtract-weeks-months-or-years-from-a-date-in-power-automate/ 

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.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans