Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Dec 04, 2019 10:32 AM
I am trying to calculate the number of dates between when a project came in house and today’s date, so I can show how many days it has been in house. I am using the following formula, which works well. But, of course it results in a negative number of days, since the in date it came in is lower than today’s date. So for instance, if a project came in on 12/01 and today is 12/05, I would like it to show 4 days in house, not “-4”. Is there a way to suppress the negative symbol and just output the 4?
DATETIME_DIFF({Request Date}, TODAY(), ‘days’)
^^ That is the function I am currently using
Dec 04, 2019 10:39 AM
Hi @Nora_Kramer - just flip them around:
DATETIME_DIFF(TODAY(), {Request Date}, 'days')
:slightly_smiling_face:
JB
Dec 04, 2019 10:44 AM
Oh my gosh! :woman_facepalming: Brilliant! Der…why did’t I think of that. Worked great!