Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Age calculation Function not working in french

  • mnelson
  • mnelson's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 5 months ago #208239 by mnelson
Hi,
Im using the below function to do the age calculation,its working fine in english but when I test my script in french,its not working.What could be the issue?

{floor((time() - mktime(0,0,0,substr(DateofBirth,5,2),substr(DateofBirth,8,2),substr(DateofBirth,0,4)))/(365.25*24*60*60))}

LimeSurvey
Version 3.24.6
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #208249 by Joffm
What is not working?

I do not see an issue (3.22.28)




So you should give more details of your problem, lss export.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • mnelson
  • mnelson's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 5 months ago #208406 by mnelson
Thanks,I managed to sort this.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose