Description
Returns the last day of the month given a date. Optional parameter (Offset) to add a number of months to input date.
Signature
GetLastDayOfMonth('datetime', 'addmonths')
Example
GetLastDayOfMonth('01/01/2012', 2) Returns 03/31/2012
Parameters
Name | Type | Description | Required |
---|---|---|---|
datetime | xxxx | xxxx | xxxx |
addmonths | xxxx | xxxx | xxxx |