The difficulty here is that we have to count the time when the visit is going from day to day, month to month and we need to put the hours in the right month.

I really need help or just give me some idea...