How to Add 1 Year to a Date in Power Automate

Do you need to add 1 year to a date value in your flow?

This functionality is useful in a variety of scenarios, such as setting email reminders, adjusting deadlines, or calculating due dates.

Perhaps you are working with a renewal date that will be exactly one year from the current date. This will require that you’re able to add 1 year to the current date when the flow runs.

In this article, you’ll learn how to add one year to any date or date timestamp in Power Automate using the addToTime function.

Key Takeaways

  • Power Automate provides the addToTime function for working with dates and time.
  • The syntax of the addToTime function allows for the addition of specific time units such as years.

Syntax of the addToTime Function

In Power Automate, you can use the addToTime expression to add a specific interval of time to a given timestamp. This is particularly useful when you want to add one year to a date, as it takes into account leap years.

To use the addToTime function, follow this general syntax:

addToTime('<timestamp>', <interval>, '<timeUnit>', '<format>?')
  • <timestamp> is the original date and time value you want to modify. It should be a string in the format of a date such as 'yyyy-MM-dd' or a date timestamp such as 'yyyy-MM-ddTHH:mm:ssZ'.
  • <interval> is the numeric value representing the amount of time you want to add.
  • <timeUnit> is a string indicating the unit of time you want to add, such as 'Year', 'Month', 'Day', 'Hour', 'Minute', or 'Second'.
  • <format> is an optional string to specify the desired format for the output date and time. For example, if you only want to return the date part of a date timestamp, then this would be 'yyyy-MM-dd'.
addToTime('<timestamp>', 1, 'Year', '<format>?')

You can use the above expression to add one year to a date value.

Adding One Year to a Date with the addToTime Function

In Power Automate, you can easily add one year to a date using the addToTime function.

This function allows you to manipulate date values in a variety of ways, including adding or subtracting designated time units like seconds, minutes, hours, days, weeks, months, and years.

addToTime(outputs('Date'), 1, 'Year', 'yyyy-MM-dd')

In this example, there is a date value in a Compose action named Date. The above expression will reference the date from the Compose action and add exactly 1 year to the date value.

The function then returns the new incremented date in the yyyy-MM-dd format

📝 Note: The addToTime function is versatile, and you can use it to add or subtract any number of years or other time units to your date or time value. Just modify the <interval> and <timeUnit> parameters accordingly to fit your needs.

With the addToTime function and the right parameters, adding one year or any other time unit to a specific date and time value is easy!

addToTime('2024-02-29', 1, 'Year', 'yyyy-MM-dd')

This function will even take care of leap-year scenarios. For example, adding 1 year to the date 2024-02-29 with the above expression will result in the date 2025-02-28.


Adding one year to a date is a useful technique for various scenarios such as calculating renewal dates during flow execution.

Using the provided addToTime function, you can manipulate date and time values to satisfy your specific requirements.

I hope this post has helped you to manipulate the dates in your flows as needed. Let me know in the comments!

About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and freelance consultant and trainer specializing in Excel, Power BI, Power Automate, Power Apps and SharePoint. You can find other interesting articles from John on his blog or YouTube channel.

Related Articles


1 Comment

  1. Mayah

    Hello, thanks for your post. I have a problem. When I test this flow, i have 2025/02/29 however i want have 2025/02/28. How i do that ? Thank you


Submit a Comment

Your email address will not be published. Required fields are marked *

Get the Latest Tech Tips

Write For Us

Are you a tech enthusiast with a talent for writing great content? Come write for us!

Follow Us

Follow us on social media to stay up to date with the latest in tech!