Hi,
I need to fetch a report where face to face session start and end time is required. I'm using the following query but output date and time is not matching with Moodle generated report or Moodle GUI .
Is there anyone to help me out regarding this issue. Plz help, it's quite urgent.
Query :
SELECT c.id AS CourseId, c.fullname AS Course,f.id AS Sessionid,f.name AS SessionName,FROM_UNIXTIME(s.timestart) AS START,
FROM_UNIXTIME(s.timefinish) AS Finish FROM mdl_course c INNER JOIN mdl_facetoface f ON c.id=f.course INNER JOIN
mdl_facetoface_sessions_dates s ON f.id=s.sessionid ORDER BY FROM_UNIXTIME(s.timestart) ASC
Thanks in advance.
regards,
Rupamoy Bhattacharya