oracle会转,数据集的参数的规则给弄混了,我数据集是oracle取数,需要取到日期控件当月的一号和上月的最后一天,格式就字符串就行。
当月一号dateinmonth($日期控件名,1)
上月最后一天dateinmonth(monthdelta($日期控件名,-1),-1)
https://jingyan.baidu.com/article/4d58d54163c70d9dd4e9c0bd.html
select trunc(sysdate,'mm') from dual 当月第一天
select last_day(add_months(sysdate,-1)) from dual; 上月最后一天