A-63054 February 2004
4-43
Converting Date (Year) value
to Output Mask
When converting Date field values that include the Year (input according to
the Input Mask) to meet Output Mask requirements, Capture Software does
the following:
Four-character year values are converted to two-character year values by
truncating the century of the year. For example:
Two-character year values are converted to four-character year values using
the following assumptions/procedure:
A valid century range of year values is first determined based on the year of
the current system date. For the first year, 95 is subtracted from the current
system year. For the last year, 4 is added to the current system year.
The two-character year is then converted to a four-character year based on the
valid century range of years. For example, assuming the current system year
is 1998, the following conversions would take place:
If this year conversion assumption is incorrect for your target imaging system
and results in incorrect output date values, then the Input Mask for the Date
field should be redefined to include a four-character year.
Input Mask
Output Mask
YYYYMMDD
MM“/”DD”“/”YY
19981220
12/20/98
20000519
05/19/00
Current System Year
Valid Century Range
1998
1903 to 2002
2000
1905 to 2004
Input Mask
Output Mask
MMDDYY
MM“/”DD“/”YYY
032305
03/23/1905
122099
12/20/1999
063001
06/30/2001
Summary of Contents for 8342693 - Capture Software - PC
Page 1: ...Capture Software User s Guide A 63054...
Page 3: ......