title: How to convert string to date in SAS?
body: <p>I have a table in SAS where in one column, the date is stored (e.g. "2005/10").
  How do I have to convert this to a SAS data format?</p>
  
  <p>Among many other tries, I tried this code:</p>
  
  <p>data test;</p>
  
  <pre><code>        format date YYMMS.;
  
          date = input(ObservationMonth, YYMMS.);
  
          put date=date9.;
  
  run;
  </code></pre>