How can I output my Unix timestamps to human readable GMT?
SELECT
category
,fullname
,shortname
,idnumber
,startdate
,visible
,timecreated
,timemodified
,count( my.id ) AS mydata
FROM mdl_mytable
JOIN mycontext ct ON ( ct.my = cat.id )
LEFT JOIN myjoin ra ON ( mycontext = cat.id )
WHERE ct.mynumber =10000000
GROUP BY shortname, fullname, .category
,.idnumber
,.startdate
,.visible
,.timecreated
,.timemodified
ORDER BY myorder ASC
Note: The query has been changed for security reasons.