Informatica Data Quality
- Informatica Data Quality 10.4.0
- All Products
GET_DATE_PART(date,format)
Argument | Required/ Optional | Description |
---|---|---|
date | Required
| Date/Time datatype. You can enter any valid transformation expression.
|
format | Required
| A format string specifying the portion of the date value you want to return. Enclose format strings within single quotation marks, for example, 'mm'. The format string is not case sensitive. Each format string returns the entire part of the date based on the date format specified in the mapping.
For example, if you pass the date Apr 1 1997 to GET_DATE_PART, the format strings 'Y', 'YY', 'YYY', or 'YYYY' all return 1997.
|
GET_DATE_PART( DATE_SHIPPED, 'HH' ) GET_DATE_PART( DATE_SHIPPED, 'HH12' ) GET_DATE_PART( DATE_SHIPPED, 'HH24' )
|
|
---|---|
|
|
|
|
|
|
|
|
|
|
GET_DATE_PART( DATE_SHIPPED, 'D' ) GET_DATE_PART( DATE_SHIPPED, 'DD' ) GET_DATE_PART( DATE_SHIPPED, 'DDD' ) GET_DATE_PART( DATE_SHIPPED, 'DY' ) GET_DATE_PART( DATE_SHIPPED, 'DAY' )
|
|
---|---|
|
|
|
|
|
|
|
|
GET_DATE_PART( DATE_SHIPPED, 'MM' ) GET_DATE_PART( DATE_SHIPPED, 'MON' ) GET_DATE_PART( DATE_SHIPPED, 'MONTH' )
|
|
---|---|
|
|
|
|
|
|
GET_DATE_PART( DATE_SHIPPED, 'Y' ) GET_DATE_PART( DATE_SHIPPED, 'YY' ) GET_DATE_PART( DATE_SHIPPED, 'YYY' ) GET_DATE_PART( DATE_SHIPPED, 'YYYY' )
|
|
---|---|
|
|
|
|
|
|