Dec 18 2020 10:06 AM
Hi Guys,
I am trying to calculate hours between created and modified date, I have tried
=TEXT(Modified-Created,"h")
but it doesn't work. I have read that it only really works if it is within 24 hours.
J
Dec 18 2020 08:27 PM
Hi @Jbrines1969,
Here is a formula, which will calculate hour difference between two dates.
=INT(Modified-Created)*24+HOUR(Modified-Created)
Dec 21 2020 07:47 AM
Dec 21 2020 09:34 PM
That is not going to work, because calculated field values are only updated when list items is modified.
Dec 22 2020 01:41 AM
So this calculation to get Days Old isn't really showing a true calculation?
=IF(LEN([Date Assigned to Sub])=0,0,DATEDIF([Date Assigned to Sub],TODAY(),"d"))
If it is then is there any way of changing it calculate hours.
This was created when I created the SharePoint list by the system