LLMS_Quiz_Attempt::get_time( integer $precision = 2 )
Get the time spent on the quiz from start to end
Parameters Parameters
- $precision
-
(integer) (Optional) Precision passed to
llms_get_date_diff()
.Default value: 2
Return Return
(string)
Source Source
File: includes/models/model.llms.quiz.attempt.php
* @return string */ public function get_time( $precision = 2 ) {
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |