Open this example in the interactive library
Source code
SELECT date('2024-02-01','+1 month','-1 day') AS last_day;
Sample output
[
{
"last_day": "2024-02-29"
}
]
Open this example in the interactive library
SELECT date('2024-02-01','+1 month','-1 day') AS last_day;
[
{
"last_day": "2024-02-29"
}
]