Accessing Moodle Server Date/Time from Scorm package

Accessing Moodle Server Date/Time from Scorm package

by James Roberts -
Number of replies: 0

Is it possible to access easily, from within a Scorm package, the time clock of the hosting Moodle server?

My Scorm packages use HTML5/javascript. For date/time information, javascript relies on the client (student's PC) time clock.

The Scorm 1.2 Run-Time Reference provides such information as: "cmi.core.session_time" (the time the user had the package open) but I haven't seen any reference to when the server opened the Scorm packaged. I'm looking for a date stamp, according to the Moodle server, of when the Scorm package was launched. 

In case this matters, my Scorm packages run within an iFrame of a single Moodle installation/domain.

Average of ratings: -