Calculated Fields - Difference Between DateTimes

Hi!

Fairly new to SuiteCRM and trying to do something that seems simple. I’m looking to get the number of days between two DateTime fields and it keeps returning 0? Any tips? Thanks!

days delta {datediff({P0];{P1} ;days}

Hey ,

Are you still having issues with this?

I’ve had a look at the documentation: https://docs.suitecrm.com/user/advanced-modules/workflow-calculated-fields/

The Following seems to work, to calculate the difference between two Dates:

{datediff({P0};{P1}; days)}

Is that what you’re looking to achieve?