Extra field in Project module to calculate the days diff between the start and ending dates

Hi all, I am really looking for help on working with computed extra fields.

I am simply trying to have an extra field that will show in the card and in the lists the time spent in days between the start and the end of a project.
I was trying to use PHP DateTime class but never got any result. Assuming that an empty response is indicating an error, I could not find any record in the log indicating what this issue was.

If any could give me a light on how to achieve this, I would highly appreciate it.

Regards

Pls forget about it, I was using the wrong field names. It’s working as expected. Tks

BTW, for the help of others, the field names are all defined in the class.php file of each module. You need to look inside to find them out.

1 Like