title: SAS Num to Date in Quarter format
body: <p>My dataset has a date in NUM format 201011 which is Nov 2010. I want it converted to 2010Q4 in date format. I applied YYQ6. format but it shows results as 2510Q4. What is wrong in here?</p>
  
  <pre><code>data abc;
  date=201011;
  run;
  
  data abc2;
  set abc1;
  format date YYQ.;
  run;
  </code></pre>