last date of month()
This function returns the last date of a month. The month is given in a with a date/timestamp.
Parameters
|
Parameter |
Description |
|
a |
Date or timestamp. |
Examples
|
Parameter a |
Result |
|
2022-02-05 |
2022-02-28 |
|
2024-02-01 |
2024-02-29 |
|
2023-03-15 |
2023-03-31 |