.获取某月的当月、上月、去年同期、月末等
9.1 当月
MONTH(today())
9.2 去年同期
YEARDELTA(today(),-1)
9.3 上上月
date(year(today()),MONTH(today())-2,day(today()))
9.4 上月
date(year(today()),MONTH(today())-1,day(today()))
9.5 去年同期上月
date(year(today())-1,MONTH(today())-1,day(today()))
9.6 本月月末
DATEINMONTH(TODAY(),-1)
9.7 本月月初
DATEINMONTH(TODAY(),1)
9.8 上月月末
DATEINMONTH(MONTHDELTA(TODAY(),-1),-1)
9.9 上月月初
DATEINMONTH(MONTHDELTA(TODAY(),-1),1)