Actions

QS

Date time format: Difference between revisions

From LimeSurvey Manual

mNo edit summary
mNo edit summary
Line 19: Line 19:


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



Revision as of 16:19, 12 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.