Summary
This article defines the instruction formDatePreferred.
Table of Contents
Instruction formatDatePreferred
Overview
Reformats a date or partial date value with the preferred date format. This method behaves like instruction formatDate with the difference of the storage of the date format. This method expects the date format string in a formatter parameter or a property named ‘preferredDateFormat’ or ‘studyDateFormat‘. Thus the advantage of this instruction is that the date format does not have to be stored with every call of the instruction. It is specified only once with a parameter or a property.
Question Id
Optional. Specify a date or partial date question path here, when the instruction should work on the question’s value.
Value
Unused. The date format is stored in a formatter parameter or property.
Input value
Optional. The input value is used, when no question Id is configured.
Examples
Form Type Id | Question Id | Instruction | Value | Column Number | Column Title | Data Type |
---|---|---|---|---|---|---|
AE | aestart | formatDatePreferred | 1 | AESTART | String |
Need more help?
Please visit the Fountayn Contact Information page.