Is it possible to record UNIX time with millisecond precision?

Hi @nrh31, have you thought about using Pythons time package? See docs.

You could save time at specific events using:

# Begin Experiment
import time

# Each Frame
if event == true:
    thisExp.addData("utcTime", time.time())

Note, the time docs do say that not all systems provide time with better precision that 1 second.