Application Integration
- Application Integration
- All Products
date:lastDay(date)
Argument
| Required/
Optional
| Description
|
---|---|---|
date
| Required
| Date/Time data type. Passes the date for which you want to return the last day of the month.
You can enter any valid transformation expression that evaluates to a date.
|
date:lastDay(fn:current-dateTime('DATE'))
|
|
---|---|
|
|
|
|
date:lastDay(date:addToDate(fn:current-dateTime('DATE','MM',-1))
|
|
---|---|
|
|
|
|
|
|
|
|
date:lastDay(toDate('DATE', 'MON-DD-YYYY'))
|
|
---|---|
|
|
|
|
|
|
|
|
date:lastDay(date:toDate("DATE", "YYYY-MM-DD"))
|
|
---|---|
|
|
|
|
|
|
|
|