Returns the absolute date and time the stimulus was presented according to the device clock.
<button> <clearScreen> <clock> <html> <picture> <port> <shape> <sound> <systemBeep> <text> <video> <xid>
stimulus.name.stimulusOnsetTime
Read Only
array
The onset time is the UTC date and time in ISO 8601 format at which the stimulus was presented to the screen. If a stimulus is presented multiple times in a trial, the onset times for each presentation can be obtained by treating property as an array and specifying the index of the presentation to return.
This property is useful for synchronization with external data streams that use the device clock.
The following displays the value of stimulusOnsetTime in a text stimulus:
<text myText>
/ items = ("stimulusOnsetTime = <% text.myText.stimulusOnsetTime[0] %>")
</text>
The following displays the value of stimulusOnsetTime in an instruction page:
<page myPage>
stimulusOnsetTime = <% picture.target.stimulusOnsetTime[0] %>
</page>