title: Convert date using Apache Derby
body: <p>I have a date stored in a varchar field in the following format:</p>
  
  <pre><code>3 Jun 2016
  </code></pre>
  
  <p>I'd like to convert it to another varchar, this time in this format:</p>
  
  <pre><code>2016-06-03 00:00:00.000
  </code></pre>
  
  <p>The reason I need it in that second format is to interact with a certain API.</p>
  
  <p>Ps. <a href="https://stackoverflow.com/questions/2572568/how-to-format-a-date-using-apache-derby/38404977">This other SO question</a> is similar, but pertains to just formatting a field that is stored as a date in the database. My question is about converting a date stored as a string into another date stored as string.</p>