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

TOPIC: strtotime and date equation

strtotime and date equation 3 years 3 weeks ago #97542

  • jaws40
  • jaws40's Avatar
  • Offline
  • Junior Lime
  • Posts: 35
  • 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 3 weeks ago #97547

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9259
  • Thank you received: 1320
  • Karma: 382
Your LS build version ?

Think you need wait next realease : in master after 13/06/14
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

strtotime and date equation 2 years 11 months ago #99012

  • OMdev
  • OMdev's Avatar
  • Offline
  • Platinum Lime
  • Posts: 326
  • Thank you received: 34
  • 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.
Moderators: ITEd
Time to create page: 0.245 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form