Open this example in the interactive library
Source code
SELECT date('2026-02-17','start of month') AS first_day;
Sample output
[
{
"first_day": "2026-02-01"
}
]
Open this example in the interactive library
SELECT date('2026-02-17','start of month') AS first_day;
[
{
"first_day": "2026-02-01"
}
]