I have read through everyone's comments about total time and session time. I am trying to figure out how to store the total time spent in the course. I do track time through actionscript and our own mini LMS but now that we have Plateau, I need to set the total time through SCORM so that admins can use it for reporting. If cmi.core.total_time is read only, how do I set the total time?
There has got to be an easier way that what I have been trying!!!
use cmi.core.session_time to manually enter the length of time spent in a course before exiting, then use cmi.core.total_time to report the time you've entered (cmi.core.total_time keeps a running count of all the session_time you enter).
cmi.core.session_time is write-only, and must be specified by the SCO (your code). be sure to use the format HH:MM:SS, with a leading 0 for any time less than 10 hours, such as 01:05:53.
so if you enter a session_time of "00:15:30", total_time is going to report "00:15:30". if you then report a second session_time of "00:12:45", total_time will report "00:28:15".