I want to develop a plugin for moodle. I need to get the begin time and the end time of a activity (eg. editwiki, read wiki...). But in the database, there is just end time (submit time). Is there a plugin which can collect these 2 time? Or is there a method can collect these 2 time?