Application Integration
- Application Integration
- All Products
date:addToDate(xs:dateTime('SHIP_DATE'), 'YY', 10)
date:addToDate(xs:dateTime('SHIP_DATE'), 'MONTH', -10)
date:addToDate(xs:dateTime('SHIP_DATE'), 'DD', 10)
date:addToDate(xs:dateTime('SHIP_DATE'), 'HH', 14)
date:addToDate(xs:dateTime('SHIP_DATE'), 'MI', 25)
date:addToDate(xs:dateTime('SHIP_DATE'), 'SS', 59)
date:addToDate(xs:dateTime('SHIP_DATE'), 'MS', 125)
date:addToDate(xs:dateTime('SHIP_DATE'), 'US', 2000)
date:addToDate(xs:dateTime('date'), 'format', amount)
Argument
| Required/ Optional
| Description
|
---|---|---|
date
| Required
| Date/Time data type. Passes the values that you want to change.
You can enter any valid transformation expression.
|
format
| Required
| A format string that specifies the portion of the date value that you want to change. Enclose the format string within single quotation marks, for example, 'mm'. The format string is not case sensitive.
|
amount
| Required
| An integer value that specifies the amount of years, months, days, hours, and so on by which you want to change the date value. You can enter any valid transformation expression that evaluates to an integer.
|
date:addToDate(xs:dateTime('DATE_SHIPPED'), 'MM', 1) date:addToDate(xs:dateTime('DATE_SHIPPED'), 'MON', 1) date:addToDate(xs:dateTime('DATE_SHIPPED'), 'MONTH', 1)
|
|
---|---|
|
|
|
|
|
|
|
|
|
|
date:addToDate(xs:dateTime('DATE_SHIPPED'), 'D', -10) date:addToDate(xs:dateTime('DATE_SHIPPED'), 'DD', -10) date:addToDate(xs:dateTime('DATE_SHIPPED'), 'DDD', -10) date:addToDate(xs:dateTime('DATE_SHIPPED'), 'DY', -10) date:addToDate(xs:dateTime('DATE_SHIPPED'), 'DAY', -10)
|
|
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
date:addToDate(xs:dateTime('DATE_SHIPPED'), 'HH', -15) date:addToDate(xs:dateTime('DATE_SHIPPED'), 'HH12', -15) date:addToDate(xs:dateTime('DATE_SHIPPED'), 'HH24', -15)
|
|
---|---|
|
|
|
|
|
|
|
|
|
|
|
|