PARTIAL2 With Modifier (DATE) - trillium_discovery - trillium_quality - Latest

Trillium Control Center

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Version
Latest
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium Control Center
Copyright
2024
First publish date
2008
Last updated
2024-10-18
Published on
2024-10-18T15:02:04.502478

The DATE modifier is used with the PARTIAL2 routine to determine the relationship between dates.

Syntax

DATE; source_date_mask; target_init_mask

source_date_mask

 

Format of dates to be matched. Y = year, M = month, D = day, and X = skipping the current year digit.

target_init_mask

Indicates to the routine which parts of the date are missing and what to fill it with. Format is yyyymmddd.

Table 1. Scoring for DATE

Score

Description

100

Dates are equal and neither is zero.

75

One of the following conditions has been met:

  •  Both years and months are equal, and not zero
  • Both months and days are equal, and not zero.
  • Both years and days are equal and not zero.

50

Either year, month, and day is zero.

5

All other cases.

0

Difference between years is greater than or equal to (>=) 16; MMDDs are not equal.