Enrolment Date differs from value in table

Enrolment Date differs from value in table

by Quintin Seegers -
Number of replies: 5
For one of the course enrolments, the Edit Enrolment screen shows the Enrolment Start date as 17 May 2023 15:41. In the ENROL.TIMECREATED field it is stored as 1491275765. When converting this Unix Time to date/time, it converts to 4 April 2017 3:16:05 AM (GMT) / 4 April 2017 3:16:05 PM (GMT+12:00). Why are the dates different? Am I looking at the wrong table/field in the database?
Average of ratings: -
In reply to Quintin Seegers

Re: Enrolment Date differs from value in table

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
Are you sure that that student doesn't actually two enrollment methods?
Average of ratings: Useful (1)
In reply to Emma Richardson

Re: Enrolment Date differs from value in table

by Quintin Seegers -
Only one enrolment method is available to the student.
In reply to Quintin Seegers

Re: Enrolment Date differs from value in table

by Quintin Seegers -
I was looking at the wrong field. I needed to look at the USER_ENROLMENTS table, not the ENROL table.
Average of ratings: Useful (1)