title: Single Month Digit Date Format issue in Oracle
body: <p>Am getting the below issue when am using 'mon-d-yyyy' to convert date to char, as i need a single day digit for values from 1 to 9 days in a month.</p>
  <p>When i use the 'mon-d-yyyy' format, am losing out on 5 days and getting a wrong date. Any help on this would be great.</p>
  <pre><code>select to_char(sysdate-22,'mon-d-yyyy') from dual;--aug-2-2017
  
  select to_char(sysdate-22,'mon-dd-yyyy') from dual;--aug-07-2017
  
  select sysdate-22 from dual;--07-AUG-17 11.06.43
  </code></pre>