Welcome to the LimeSurvey Community Forum

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

spss cannot output the time string problem

  • iscar
  • iscar's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
10 years 5 months ago #110139 by iscar
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 topic has been locked.
More
10 years 5 months ago #110146 by Ben_V
Replied by Ben_V on topic spss cannot output the time string problem

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:
Code:
{date('Y-m-d H.i')}

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • iscar
  • iscar's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
10 years 5 months ago #110150 by iscar
Replied by iscar on topic spss cannot output the time string problem
the format is just for sample.
the problem is time string in spss output is only width 1, that's the key issue.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose