From the course: xAPI Foundations
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
The Timestamp element
- [Instructor] The last element we'll discuss is the timestamp element. Timestamp records when the activity or event took place, not when the statement is necessarily created or sent. Although we'll come back to that in another lesson. Timestamps must not be set in the future. What this means is that if you are sending the statement on Monday, you can't have a timestamp for next Tuesday. Remember, xAPI is recording something that did happen, not something that will. That said, a learning record store should not reject a statement set in the future. Although in this case, we're talking a few seconds. Just like watches, the clock on your computer may be a few milliseconds, or even a few seconds ahead of the clock on the LRS. In these cases, the LRS should not reject those statements. Timestamps must follow a very specific format, namely they must meet ISO 8601 and should meet RFC 3339. Now if you don't know what those mean, there's an example at the bottom of the page to illustrate as I…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Building a statement: "I Did This"2m 56s
-
(Locked)
xAPI unique identifiers1m 32s
-
(Locked)
The Actor element4m 6s
-
(Locked)
The Verb element3m 36s
-
(Locked)
Where do xAPI Verbs come from?3m 14s
-
(Locked)
The Object element3m 25s
-
(Locked)
The Result element3m 35s
-
(Locked)
The Context element3m 2s
-
(Locked)
Using extensions3m
-
(Locked)
The Timestamp element2m 28s
-
-
-
-