title: How to write the date in DatePicker without the day name?
body: <p>I'm using a DatePicker in WPF app and I'm trying to get the date with month name in arabic and without the name of day.</p>
  <p>I'm following the documentation of DatePicker <a href="https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.datepicker?view=netcore-3.1" rel="nofollow noreferrer">link</a></p>
  <p>For example (image from the link of the documentation):</p>
  <p><a href="https://i.stack.imgur.com/JnRTo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JnRTo.png" alt="enter image description here" /></a></p>
  <p>I would like to write the date without &quot;Monday&quot; and I prefer to get it in Arabic language,</p>
  <p>Xaml Code:</p>
  <pre><code>&lt;DatePicker SelectedDateFormat=&quot;Long&quot; x:Name=&quot;EnteringDate&quot; Foreground=&quot;White&quot; Background=&quot;Transparent&quot; Height=&quot;30&quot; FlowDirection=&quot;RightToLeft&quot; BorderBrush=&quot;White&quot;/&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/n9Joh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n9Joh.png" alt="enter image description here" /></a></p>
  <p>The desired output:</p>
  <p><a href="https://i.stack.imgur.com/feig2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/feig2.png" alt="enter image description here" /></a></p>
  <p>What I have tried , solution in StackOverflow but it does not work for me :</p>
  <pre><code>&lt;DatePicker SelectedDateFormat=&quot;Long&quot; x:Name=&quot;EnteringDate&quot; Foreground=&quot;White&quot; Background=&quot;Transparent&quot; Height=&quot;30&quot; FlowDirection=&quot;RightToLeft&quot; BorderBrush=&quot;White&quot;&gt;  &lt;DatePicker.Resources&gt;
          &lt;Style TargetType=&quot;{x:Type DatePickerTextBox}&quot;&gt;
              &lt;Setter Property=&quot;Control.Template&quot;&gt;
                  &lt;Setter.Value&gt;
                      &lt;ControlTemplate&gt;
                          &lt;TextBox x:Name=&quot;PART_TextBox&quot;
                                           Language=&quot;ar-EG&quot;
                                           Text=&quot;{Binding Path=SelectedDate, StringFormat='yyyy MMM dd', 
                                      RelativeSource={RelativeSource AncestorType={x:Type DatePicker}}}&quot; /&gt;
                      &lt;/ControlTemplate&gt;
                  &lt;/Setter.Value&gt;
              &lt;/Setter&gt;
          &lt;/Style&gt;
      &lt;/DatePicker.Resources&gt;
  &lt;/DatePicker&gt;
  </code></pre>