
Announcements
Hello Com,
just a simple question.
I have a SharePoint List with a column which is "finish" named as date field.
Now i want add 365 days / 1 year if the "finish" date = today day.
How is the flow looking?
Hi @PowerAppUser98,
In case of the 365 days you can combine the addDays and utcNow functions into one expression.
Try something like below:
if(equals(formatdatetime(item()['Finish'], 'yyyy-MM-dd'), utcNow('yyyy-MM-dd')), addDays(utcNow(), 365), item()['Finish'])