title: sas date - convert today() into yyyymmdd format
body: <p>How do I convert a SAS date such as <code>"30JUL2009"d</code> into <code>YYYYMMDD</code> format (eg 20090730)?</p>
  
  <p>So for instance:</p>
  
  <pre><code>data _null_;
    format test ?????;
    test=today();
    put test=;
  run;
  </code></pre>
  
  <p>Would give me "test=20090730" in the log...</p>