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 1 month ago #110139

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • 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 1 month ago #110146

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1790
  • Thank you received: 439
  • Karma: 110
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 => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.

spss cannot output the time string problem 2 years 1 month ago #110150

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • 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.
Moderators: ITEd
Time to create page: 0.242 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form