oTree Forum >

Date & Time of the experiment

#1 by alid3mir

Hey everyone,

Is it possible to store the data of the date and the exact tim of the study completed by the participant?
Or is this something already built in feature?

Thanks for advance!

#2 by Trontatuma

It should be stored, check out the data that your project is storing in the admin tab.

If not, you can also easily get the timestamp in Python and store it in some field. Put something like this on the last page

import datetime
current_datetime = datetime.datetime.now()
player.timestamp = current_datetime.strftime("%Y-%m-%d %H:%M:%S")

Write a reply

Set forum username