Power Automate Add Months to Date: Build a Follow-Up Date Flow

Our facilities team wanted a follow-up date three months after every request’s due date, so nobody forgets to check the new chairs or the copier lease. To do a Power Automate add months to date, use addToTime(date, 3, 'Month', 'yyyy-MM-dd'). There’s no addMonths() function.

In this tutorial, I’ll build that flow with you step by step: Power Automate add months to date for every row in a SharePoint list, plus a filter for items due in the next month. I ran every step on November 9, 2026.

Here’s what we’re building. Each request gets a FollowUp date, and blank due dates stay blank instead of breaking the flow:

Power Automate Select output with FollowUp dates three months after each due date
The finished Select output. October 15 became January 15, and the blank row stayed null
  • Today_Eastern – a Compose action that holds today’s date in Eastern time
  • Get items – reads the Customer Requests list
  • Select – adds a FollowUp column with addToTime()
  • Get items with a filter – finds requests due within the next month

Before You Start

You need a Power Automate license that includes the SharePoint connector, and edit access to a list. I used my Customer Requests list with a date-only DueDate column. Two rows are blank on purpose.

ColumnTypeNotes
TitleSingle line of textRequest name
DueDateDate onlyBlank in rows 2 and 5
StatusChoiceNew, In Progress, Closed
IDTitleDueDate
1Ergonomic chairs – Austin office10/15/2026
2Laptop refresh – Denver sales teamblank
3Conference room AV upgrade – Seattle10/20/2026
4Printer toner – NYC front desk10/09/2026
5Standing desks – Chicago officeblank
6Badge printer – Boston lobby10/21/2026
7Copier lease renewal – Dallas office11/09/2026
8Network switch swap – Atlanta office11/08/2026
9Desk phones – Phoenix call center11/10/2026
10Safety signage – Miami warehouse11/16/2026
11Projector bulbs – Portland office11/12/2026

If you haven’t read list rows in a flow before, start with this Get items filter query guide.

Step 1: Store Today’s Date in Eastern Time

utcNow() returns UTC, which runs four or five hours ahead of the East Coast. I ran this flow at 7:24 PM Eastern on November 9, and utcNow() already said November 10.

  1. Create an instant flow with Manually trigger a flow.
  2. Add a Compose action and rename it Today_Eastern.
  3. Click Inputs, type /, choose Insert expression, paste the expression below, and select Add.
convertFromUtc(utcNow(),'Eastern Standard Time','yyyy-MM-dd')
Power Automate Compose code view with convertFromUtc Eastern Standard Time expression
Code view of the Today_Eastern Compose action

Checkpoint: In a test run, Today_Eastern returned 2026-11-09. The same moment in UTC was 2026-11-10T00:24Z. More on this in setting a variable to today’s date.

Step 2: Add Months With addToTime()

Before touching the list, test the expression on a fixed date. Add another Compose action and insert this expression:

addToTime('2026-11-10',3,'Month','yyyy-MM-dd')
Power Automate code view of addToTime adding 3 months to a date
addToTime() takes the date, the number, the unit, and an optional format

Checkpoint: It returned 2027-02-10. The unit is the third argument, and Microsoft lists Second, Minute, Hour, Day, Week, Month, and Year.

Leave out the format and you get a full timestamp, 2026-12-10T00:00:00.0000000, for one month. Use 'MM/dd/yyyy' for 12/10/2026, the same patterns as formatDateTime().

Step 3: Add a FollowUp Column for Every Request

Same list, now with a follow-up date on each row. Add Get items, pick your site and list, then add a Select action.

  1. Set From to the Get items value.
  2. Map Title and DueDate from the dynamic content.
  3. Add a key named FollowUp and insert this expression as its value:
if(empty(item()?['DueDate']),null,addToTime(item()?['DueDate'],3,'Month','yyyy-MM-dd'))

The if(empty(...)) part matters. addToTime(null,1,'Month') failed in my run because the first parameter has to be a string. See how the Select action reshapes rows.

Checkpoint: Row 1 (due 10/15/2026) returned 2027-01-15, row 7 (11/09/2026) returned 2027-02-09, and both blank rows returned null.

Step 4: Find Requests Due in the Next Month

Now flip it around. Instead of computing dates, ask SharePoint for rows due between today and one month from today. In a second Get items action, open Advanced parameters, choose Filter Query, and enter:

DueDate ge '@{outputs('Today_Eastern')}' and DueDate lt '@{addToTime(outputs('Today_Eastern'),1,'Month','yyyy-MM-dd')}'
Power Automate Get items raw inputs with DueDate ge and lt filter for the next month
The filter as it ran: from November 9 up to, but not including, December 9

Checkpoint: It returned rows 7, 9, 10, and 11. Row 7 is due today, and nothing from October came back. I use ge plus lt on purpose, as explained in filtering dates less than today.

Test the Flow

Save, then select Test, Manually, and Run flow. Open the run and click each action to read its outputs. Here’s what my run returned for the tricky month-end dates:

ExpressionResult
addToTime('2026-01-31',1,'Month','yyyy-MM-dd')2026-02-28
addToTime('2028-01-31',1,'Month','yyyy-MM-dd')2028-02-29 (leap year)
addToTime('2026-03-31',-1,'Month','yyyy-MM-dd')2026-02-28
subtractFromTime('2026-11-10',2,'Month','yyyy-MM-dd')2026-09-10
addDays('2026-01-31',30,'yyyy-MM-dd')2026-03-02
addToTime('2028-02-29',12,'Month','yyyy-MM-dd')2029-02-28
addToTime('2026-11-10T15:30:00Z',1,'Month')2026-12-10T15:30:00.0000000Z

So January 31 plus one month lands on the last day of February, not March 2 or 3. That’s why I never fake months with addDays(30): it gave March 2 for the same start date.

Variations You’ll Need

Subtract months

Pass a negative number to addToTime(), or use subtractFromTime() with a positive one. Both worked. For day math, use addDays().

First and last day of next month

Combine startOfMonth() with addToTime(). These returned 2026-12-01 and 2026-12-31:

addToTime(startOfMonth('2026-11-10'),1,'Month','yyyy-MM-dd')
addDays(addToTime(startOfMonth('2026-11-10'),2,'Month'),-1,'yyyy-MM-dd')

Months from a number column

The interval must be an integer. If the number of months comes in as text, wrap it in int(); int('3') worked, the same way you convert a string to an integer.

Troubleshooting

These are the errors I hit on purpose in the test run.

Power Automate InvalidTemplate error for addToTime with Months unit
Months with an s fails with InvalidTemplate
ProblemFix
'Months' (plural) – not a valid time unitUse 'Month'. Lowercase 'month' worked too
1.5 – expects an integer, got FloatWhole months only; use addDays for the rest
'3' – expects an integer, got StringWrap it: int('3')
null date – got type NullGuard with if(empty(...))
The template language function 'addToTime' expects its second parameter to be a string that represents a valid time unit. The provided value 'Months' is not a valid time unit.

Note: the message says “second parameter” even though the unit is the third argument. Don’t let that send you hunting in the wrong place.

Where to Take It Next

Frequently Asked Questions

How do I add months to a date in Power Automate?

Use addToTime(date, number, 'Month', 'yyyy-MM-dd'). For example, addToTime('2026-11-10',3,'Month','yyyy-MM-dd') returns 2027-02-10.

Is there an addMonths function in Power Automate?

No. Power Automate has addDays(), addHours(), and addMinutes(), but months and years go through addToTime() or subtractFromTime(). See the Microsoft expression functions reference.

What happens when I add one month to January 31?

It returns the last day of February: 2026-02-28 in a normal year and 2028-02-29 in a leap year.

How do I subtract months from a date?

Use a negative interval, such as addToTime(date,-2,'Month'), or subtractFromTime(date,2,'Month').

Why does addToTime fail on a blank SharePoint date?

A blank date arrives as null, and addToTime needs a string. Wrap it in if(empty(date), null, addToTime(...)).

More Date Tutorials

Once months work, these are the date tricks people usually need next: