Not quite sure what you want, but you may be interested in exploring the optional alignment argument. e.g.:
61 data _null_;
62 date1=intnx('month6','05may2022'd,1,'s');
63 date2=intnx('month6','05may2022'd,0,'s');
64 days=date1-date2;
65 format date1 date2 date9.;
66 put date1 date2 days;
67 run;
05NOV2022 05MAY2022 184