Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: strtotime and date equation

strtotime and date equation 3 years 5 months ago #97542

  • jaws40
  • jaws40's Avatar
  • Offline
  • Junior Lime
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
I would like to compute the difference between 2 dates.
I read the example in the documentation with strtotime
I used the example but i get this output see image
it seems that strtotime is not a valid expression??
I use LS 2.0
please advise
Attachments:
The administrator has disabled public write access.

strtotime and date equation 3 years 5 months ago #97547

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
Your LS build version ?

Think you need wait next realease : in master after 13/06/14
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

strtotime and date equation 3 years 3 months ago #99012

  • first
  • first's Avatar
  • Offline
  • Platinum Lime
  • Posts: 329
  • Thank you received: 35
  • Karma: 15
For me also it shows ..

Attachment date.png not found

Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
The administrator has disabled public write access.
Time to create page: 0.246 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form