I am in need to create the Age in Days based upon in my case the Date of Debt. For that I created a flow that loops through all of my items coming from a SharePoint list. Created a variable named DaysSinceDateDebt and I am using this expression:
In my Update Item action I have put the following:
When I test the flow I get the following error:
Does anyone has any idea what I am doing wrong here?? Thanks for any advise.
Your syntax to get calculate age in hours looks correct (checked it with a hard-coded date), but it looks like your date column is coming in as an integer. I would use just that part of your expression to see the value. You may need to use addDays('1899-12-30', <your date value>) to convert it to a date first.
Pat
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2