The method returns the date of the first day of the month.
getEndOfMonth ( aDate ) -> Function result| Parameter | Type | in/out | Description |
|---|---|---|---|
| aDate | Date | in | aDate for which to return the last day of the month |
| result | Date | out | Date representing the first day of the month |
The following example returns the last day of the month for the current day:
$start:=getEndOfMonth (Current date)