I try to get the difference between 20201001-20200930 is 71 not 1 day try to get difference between sysdate(20201127) and 20200106 is 1021 10 refer to number of months and 2