x

Main chapters

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Quick start guide
  3. LimeSurvey CE - Installation
  4. How to design a good survey (Guide)
  5. Getting started
  6. LimeSurvey configuration
  7. Introduction - Surveys
  8. View survey settings
  9. View survey menu
  10. View survey structure
  11. Introduction - Questions
  12. Introduction - Question Groups
  13. Introduction - Surveys - Management
  14. Survey toolbar options
  15. Multilingual survey
  16. Quick start guide - ExpressionScript
  17. Advanced features
  18. General FAQ
  19. Troubleshooting
  20. Workarounds
  21. License
  22. Version change log
  23. Plugins - Advanced
 Actions

QS

Date time format/en: Difference between revisions

From LimeSurvey Manual

FuzzyBot (talk | contribs)
Importing a new version from external source
 
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 6: Line 6:
'''Description'''
'''Description'''


This question attribute can be used to specify a custom date format. If it's empty, the survey date format is used.
This question option can be used to specify a custom date format. If it is empty, [[Survey_texts#Survey_texts_panel|the survey date format]] will be used.


'''Valid values'''
'''Valid values'''


The d/dd m/mm yy/yyyy H/HH M/MM formats and "-./:" characters are allowed for day/month/year/hour/minutes without or with leading zero respectively.
*The d/dd,m/mm,yy/yyyy,H/HH,M/MM formats can be used to display the date and/or time, while "-", ".", "/", ":" can be used as separators.  
Example are: "yyyy-mm-dd", "dd.mm.yyyy HH:MM", "HH:MM" (only ask for time) or "yyyy/mm" (only ask for month and year).


'''Examples'''
*''yyyy-mm-dd'' - year-month-day;
*''dd.mm.yyyy HH:MM'' - day.month.year Hour:Minute;
*''HH:MM'' - Hour:Minute (only the time can be selected);
*''yyyy/mm'' - year/month.
</onlyinclude>
</onlyinclude>




[[Category:Question Settings]][[Category:Advanced Question Settings]]
[[Category:Question Settings]][[Category:Question Input Options]]

Revision as of 15:40, 31 March 2018


Date/Time format

Description

This question option can be used to specify a custom date format. If it is empty, the survey date format will be used.

Valid values

  • The d/dd,m/mm,yy/yyyy,H/HH,M/MM formats can be used to display the date and/or time, while "-", ".", "/", ":" can be used as separators.

Examples

  • yyyy-mm-dd - year-month-day;
  • dd.mm.yyyy HH:MM - day.month.year Hour:Minute;
  • HH:MM - Hour:Minute (only the time can be selected);
  • yyyy/mm - year/month.