Hello - I'm trying to write a query using Compass that will return the first day of the previous month. For example, today is 2024-02-22, so I want the query to return the date of 2024-01-01.
Anybody know how to do that? It needs to be able to account for a different number of days in a month and if it is January then the previous year is minus 1 as well.