title: Converting date to this format
body: <p>I have a date in this format:</p>
  
  <pre><code>   24-12-2010 // DAY - MONTH - YEAR
  </code></pre>
  
  <p>I need to get it in this format:</p>
  
  <pre><code>   1995-12-31T23:59:59.999Z // The Z is for the TimeZone I think.
  </code></pre>
  
  <p>Check this link out:</p>
  
  <p><a href="http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html" rel="noreferrer">http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html</a></p>
  
  <p>The above link is the way I need the date.</p>
  
  <p>I am using PHP now, so this needs to be with PHP.
  How can I convert these dates the easiest way?</p>
  
  <p>Thanks</p>