I want to create a duration field ito my custom module to calculate the length of duration of the account visitation for my salesperson just like how the duration in meeting module does; I have created the start date with time and end date with time, but I have no idea how to calculate the time spend, can anyone share how could I do it?
Thank you very much in advance.