Forum Discussion
Cindy Zalme
Oct 19, 2017Copper Contributor
SharePoint Online Date Calculation
I'd like to calculate the number of days between [today] and the due date in a SharePoint Online task list. Not sure why this seems so difficult or why I can't readily find an answer online. Any id...
Abbyamante
Sep 30, 2020Brass Contributor
Pavel Sheludkov thank you for sharing this format. this works on my sharepoint list column. however, do you know how to remove the decimal points and just make it a round number of days?
asifkhawaja7
Jan 20, 2021Copper Contributor
Abbyamante , just use the floor() function to round the number down.
"=floor((Number([$DueDate])-Number(@now))/86400000)"