You need to sign in to do that
Don't have an account?
SPowser
DateDiff formula
Hello,
I am looking for a way to calculate the difference between two dates and enter that into a field using the Formula field type. I don't see anyway to do it yet. Is this possible?
Thanks,
SPowser
I am looking for a way to calculate the difference between two dates and enter that into a field using the Formula field type. I don't see anyway to do it yet. Is this possible?
Thanks,
SPowser
I also needed this feature and played around with some formula fields. You can do {date1}-{date2} but it gives you an answer in (days point, decimal of a day).
Round(( {date1} - {date2} ),0) in one formukla field. Gives you the number of days
mod(({date1} - {date2 ),24) in another formula fieldwhich gave me in hours (However shows as 12.5 hours for 12.30)
But im sure with a little more maths this can be worked around. Dont know if this helps but its an idea
http://www.ihatethebus.com/blog/index.php?entry=entry050831-144419
i had to do this with datetime fields
On Case, I wanted number of hours since last modified
(Now() - LastModifiedDate)*24
Now() - LastModified gave me the differences in days, * 24 gave me that in hours.