Hi, Antonio,
If you mean cmi.total_time (SCORM 2004, cmi.core.total_time in SCORM 1.2 syntax) variable, then the only way to obtain its value is using JavaScript call. JavaScript function:
SCORM_GetValue(sName)
(where sName is string variable name, for example "cmi.total_time") returns the value of SCORM variable or null (if such variable does not exists. Note, that it will be returned (if it will - some LMS may not support it) in ISO 8601 format.
Hi, Antonio,
If you mean cmi.total_time (SCORM 2004, cmi.core.total_time in SCORM 1.2 syntax) variable, then the only way to obtain its value is using JavaScript call. JavaScript function:
SCORM_GetValue(sName)
(where sName is string variable name, for example "cmi.total_time") returns the value of SCORM variable or null (if such variable does not exists. Note, that it will be returned (if it will - some LMS may not support it) in ISO 8601 format.