Summary

This article defines the instruction icsrPartialDate.

Table of Contents


Instruction icsrPartialDate

Overview

Converts a date or partial date to a date in ICSR format. You need to specify the largest format that should be written with the instruction value. You can specify a date question as input, use the input value or have multiple questions and constants configured in the way as described under instruction toISO8601 with variables atQst, atQstData, atQstTime, atConst, atConstDate, atConstTime.

Question Id

Optional. Specify a question path, when the instruction should work with a question value.

Value

The maximum format string for the output.
Value: 602 => Last supported field is year.
Value: 610 => Last supported field is month.
Value: 102 => Last supported field is day of month.
Value: 203 => Last supported field is minute.
Value: 204 => Last supported field is second.

Input value

The instruction works on the input value, when no question is configured.

Example

When you have a partial date “?-Jan-2000″, then the output value depends on the instruction value.
Value: 602 => 2000 (because the year is the last field)
Value: 610 => 200001 (because the month is the last field)
Value: 102 => 200001 (because there is no more data than the year and the month)
Value: 203 => 200001 (because there is no more data than the year and the month)
Value: 204 => 200001 (because there is no more data than the year and the month)



Need more help?

Please visit the Fountayn Contact Information page.