Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

How to collect the age of a subject as a variable

when starting an experiment, I would like to enter subject ID, date of birth and current date and then have opensesame log the sub_ID and sub_age for every trial/response as a variable. Ideally I would like to log both age in days and years.

I found information on getting the days between dates in python ( but since I'm new to both OS and python, I'd like to learn from an example solution.

Thanks in advance!


  • Hi,

    I recommend to use text_input_forms. You can collect all kinds of information like that.

    The error message seems to be quite straightforward, it

    Good luck,


Sign In or Register to comment.