title: Change language of the date stored in d-M-Y format php
body: <p>I need to convert or change the language of the data I echo in php</p>
  
  <pre><code>echo date('d-M-Y', strtotime($date));
  </code></pre>
  
  <p>This echo for example 23-Jan-2017, while I want it in Spanish 23-Ene-2017.</p>