title: How to change the Date Format '27JAN2017 to 27JA2017' in C#?
body: <p>I am working <code>WPF</code> application using <code>C#</code> and <code>.Net Framework 4.0</code>. I want to change the format of the date and display in my application screen. Currently I am displaying the date in this format - <code>mm/dd/yyyy</code> that is <code>(01/27/2017)</code>. I want to change the format from <code>"01/27/2017"</code> to <code>"26JA2017"</code>.</p>
  
  <p>I tried the below code,</p>
  
  <pre><code>value = Convert.ToDateTime(currentDate).ToString("ddMMMyyyy");
  </code></pre>
  
  <p>The above code is changing the date from <code>"01/27/2017"</code> to <code>"27JAN2017"</code>. I want it to be <code>27JA2017</code>. The customer is from France and he need the date format to be in French.</p>
  
  <p>Can anyone of you help me in converting the date format from <code>"27JAN2017"</code> to <code>"27JA2017"</code>? </p>