spss cannot output the time string problem

More
3 years 3 days ago #110139 by iscar
iscar created the topic: spss cannot output the time string problem
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!

Please Log in to join the conversation.

More
3 years 3 days ago #110146 by Ben_V
Ben_V replied the 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:
{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)

Please Log in to join the conversation.

More
3 years 3 days ago #110150 by iscar
iscar replied the 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.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now