by Plankton Isyum.
I'm can successfully get a specific course completion for a user+course using core_completion_get_course_completion_status.
However, I want to do something more like "get all course completions where the datetime completed is in the last 24hrs" or similar. I can't find an specific function/example of how to do this.
Can anyone point me in the right direction for how to do this?