https://knowledge.reontosanta.com/archives/14
select date_trunc('month',now()) select date_trunc('month',now()+'1 months')+'-1 days'