SAS Quality Knowledge Base for Contact Information 27
| Date (YMD) | |||
|---|---|---|---|
| Description | The Date (YMD) parse definition parses dates with format YMD into a set of tokens. | ||
| Output Tokens | Day Month Year |
||
| Example 1 | Input | Output Token | Output |
| 10/12/07 | Day | 07 | |
| Month | 12 | ||
| Year | 10 | ||
| Example 2 | Input | Output Token | Output |
| 10/1/2007 | Day | 10 | |
| Month | 1 | ||
| Year | 2007 | ||
| Example 3 | Input | Output Token | Output |
| Ottobre 5, 2007 | Day | 5 | |
| Month | Ottobre | ||
| Year | 2007 | ||
| Remarks | If it is not possible to determine whether information in the input is a day, month, or year, it will be determined by the assumed order of year, month, and day. | ||
|
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_IT_Parse_Date-YMD.html |