title: Cannot find a matching quote character for the character '''
body: <p>I have the following code:</p>
  
  <pre><code> examdate = Convert.ToDateTime(ttd.DateCreated).ToString("MMM dd yy");
  </code></pre>
  
  <p>and it returns <code>Jun 27 18</code></p>
  
  <p>but I need the following output</p>
  
  <p><code>Jun 27 '18</code></p>
  
  <p>so I changed my code to </p>
  
  <pre><code> examdate = Convert.ToDateTime(ttd.DateCreated).ToString("MMM dd 'yy");
  </code></pre>
  
  <p>and it threw up an error:
  <code>Cannot find a matching quote character for the character '''.</code></p>