cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pasquale_p
Helper I
Helper I

add year+1 from today

Hi all, 

I need your help to set a process where every JAN 01st 20XX, create a folder named as 20xx+1 (e.g. today is Jan 01st 2022, and, I need to create a folder named 2023

 

how I can add 1 year more?

 

thanks to all will helps me

 

 

 

pasquale_p_0-1658561825331.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
David-
Solution Sage
Solution Sage

You can use this for your initialize variable string: 

 

addDays(utcNow(),365,'yyyy')

 

Although you may want to add 366 days to account for leap years.

View solution in original post

4 REPLIES 4
David-
Solution Sage
Solution Sage

You can use this for your initialize variable string: 

 

addDays(utcNow(),365,'yyyy')

 

Although you may want to add 366 days to account for leap years.

MarconettiMarco
Super User
Super User

Hello @pasquale_p ,

please use this expression:

 

formatDateTime(addDays(utcNow(),365),'yyyy')

 

BR,

Marco

MarconettiMarco
Super User
Super User

@pasquale_p are you sure that the following expression is working?

 

addDays(utcNow(),365,'yyyy')

pasquale_p
Helper I
Helper I

Hi Marco, 

the David's solutions is working well

 

thanks for your support too

 

 

pasquale_p_1-1658595537601.png

 

 

pasquale_p_0-1658595476237.png

 

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,363)