Welcome to the LimeSurvey Community Forum

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

spss cannot output the time string problem

More
12 years 3 months ago #110139 by user36526_d
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
12 years 3 months ago #110146 by Ben_V

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.
More
12 years 3 months ago #110150 by user36526_d
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: tpartner, holch

Lime-years ahead

Online-surveys for every purse and purpose