Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4262

timecreated is displayed as a UNIX Time stamp instead of a date

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.2
    • Fix Version/s: None
    • Labels:
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      I'm trying to create a user report showing enrollments in each course over several months.
      I do not see anywhere where I can add enrollment date to the report but I was able to add a timecreated column. This works fine except that it is displayed as a UNIX timestamp. i.e 358894316
      I can export it into Excel and run the formula =DATE(1970,1,1)+<timestamp>/86400 and it gives me the correct enrollment date but I'd love to see it in the Moodle report like firstaccess does. any thoughts?

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            rob@skeeter-media.com Rob Skeet
            Participants:
            Component watchers:
            Juan Leyva, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: