I'm new to limesurvey and would like to get age on a certain date (01.01.2012) from the date of birth that is entered as the answer to a question. I figured I could just get the year from the date of birth with javascript (which I'm also new to). I tried to read it as a date and also as string, and am getting weird results. Any ideas what I'm doing wrong?