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

TOPIC: spss cannot output the time string problem

spss cannot output the time string problem 2 years 5 months ago #110139

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 292
  • Thank you received: 1
  • Karma: -4
1.create a equation question {{date('Y-m-d',time())}}
2.answer survey
3.output spss
4.you can find this question only has width 1, and response is 2
actually, the time string is record in database, but the spss output has problem.
is that bug or my problem.
i am new to ls, thanks for any help!
The administrator has disabled public write access.

spss cannot output the time string problem 2 years 5 months ago #110146

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1894
  • Thank you received: 469
  • Karma: 118
actually, the time string is record in database

I don't know how you can record it with this kind of misformatted expression :unsure:

Should be ok using a syntax like:
{date('Y-m-d H.i')}
BenoƮt

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The administrator has disabled public write access.

spss cannot output the time string problem 2 years 5 months ago #110150

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 292
  • Thank you received: 1
  • Karma: -4
the format is just for sample.
the problem is time string in spss output is only width 1, that's the key issue.
The administrator has disabled public write access.
Time to create page: 0.210 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form