Welcome to the LimeSurvey Community Forum

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

question date/time

  • ancileddu
  • ancileddu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #126088 by ancileddu
question date/time was created by ancileddu
Hello, can i remove time from date/time question????? i want only date..thank's
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 5 months ago #126097 by Mazi
Replied by Mazi on topic question date/time
Do you mean at the results table?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: ancileddu
The topic has been locked.
  • ancileddu
  • ancileddu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #126100 by ancileddu
Replied by ancileddu on topic question date/time
yes..now i have 2015-09-18 00:00:00 but i want only 2015-09-18..can i?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 5 months ago - 8 years 5 months ago #126102 by Mazi
Replied by Mazi on topic question date/time
No, because the field type at the database is set to include the time.

Only alternative solution would be adding a hidden equation question and storing the cut off date there. Use this equation assuming the date question uses code "date":
{substr(date,0,10)}

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Last edit: 8 years 5 months ago by Mazi.
The following user(s) said Thank You: ancileddu
The topic has been locked.
  • ancileddu
  • ancileddu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #126104 by ancileddu
Replied by ancileddu on topic question date/time
sorry, but where i have to add this string?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 5 months ago #126105 by Mazi
Replied by Mazi on topic question date/time
Create a question of type equation and add this directly at the question text. Adjust the question code as needed.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: ancileddu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose