Hi, I have a datastep that looks like this: data new_orig1; set new_orig; format orig_date mmddyy10. MaturityDate mmddyy10. groupdsfinalscaled 12.; orig_date = intnx('quarter','30sep12'd,quarter); curr_dt = put(put(orig_date,yyq6.),$6.); run; I would expect that all the resulting values for "orig_date" would be Oct 1, 2012, since the input date, '30sep12'd, is a constant for all the observations. But for some reason, this only occurs for a subset of my resulting dataset. The rest of the observations have "orig_date" values such as 1/1/2013, 4/1/2013, 7/1/2013, 10/1/2013. In other words, always the beginnings of quarters, but not 10/1/2012 as I had expected. Can anyone explain why? Much appreciated!
... View more