Date time format: Difference between revisions
From LimeSurvey Manual
mNo edit summary |
m (Text elements) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
<!--T:4--> | <!--T:4--> | ||
This question option can be used to specify a custom date format. If it is empty, [[ | This question option can be used to specify a custom date format. If it is empty, [[Text elements#Survey text elements panel|the survey date format]] will be used. | ||
<!--T:5--> | <!--T:5--> | ||
Line 18: | Line 18: | ||
*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. | *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. | ||
<!--T:9--> | |||
'''Examples''' | '''Examples''' | ||
*''yyyy-mm-dd | *''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); |
Latest revision as of 20:13, 4 April 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.