Data Element - Date Processing Type


The Date data type processes source fields that contain date formats. A variety of date formats are supported. If the source date field includes a timestamp, then complete Java Date/Timestamp format must be represented. However, date processing will occur only on the Date portion of the field.

Specify which date pattern to use. Select one of the date formats provided or type a valid Java date format. A few standard date formats are provided including:

  • MM/dd/yyyy
  • MM-dd-yyyy
  • dd/MM/yy
  • yyyy-MM-dd
  • yyDDD - Julian (5)
  • yyyyDDD - Julian (7)

Important

These choices are available from the Default format list. If you want to use a date pattern other than the choices listed above, you can type the date pattern as desired. However, the date format must be a valid date format.

Dates are considered invalid if the source value does not conform to the date pattern specified.

When date processing is requested, a date format is required since date normalization will use a date pattern to convert the dates to the normalized format. The date format can be defined by the metadata or as part of the source data identifier. If a date format is not supplied by either of these sources, the default date format will be used.

Date processing includes a date value that is used to initialize the date field for the data element when that option is selected for invalid data. You must enter an initial date value to enable the Next button.

Date patterns can be specified at the data element level and they apply to the entire data element. Date patterns do not apply beyond the length of the identified field. If the date is split into multiple fields, a multi-field source data identifier must be created to identify all of the pieces. The date pattern will then apply to the combined field.

Java "SimpleDateFormat" pattern letters include the following letters. Keep in mind that uppercase and lowercase letters refer to different date parts.

Letter

Date Component

Output

Examples

y

year

Year

1996; 96

M

month in year

Month

July, Jul, 07

w

week in year

Number

27

W

week in month

Number

2

D

day in year

Number

189

d

day in month

Number

10

F

day of week in month

Number

2

E

day in week

Text

Tuesday, Tue


Example

yyyy.MM.dd = 2011.07.04

EEE, MMM d, yyyy = Mon, Jul 4, 2011

yyyyy.MMMMM.dd = 02011.July.04

yyyy-MM-dd = 2011-07-04

Important

If you need to create a date format requiring additional Java date pattern letters, refer to the sample date format in the Java 6 API.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*