title: C# DateTime with MongoDb
body: <p>I'm trying to parse DateTime as Json to MongoDB.</p>
  <p>This is my Post Request via Json :</p>
  <pre><code>    {
        &quot;birthdate&quot;: &quot;2022-05-19T19:27:44.952Z&quot;
      }
  </code></pre>
  <p>This is the part of my C# class:</p>
  <pre><code>public  DateTime Birthdate { get; set; }
  </code></pre>
  <p>However in the MongoDB it is stored like this:</p>
  <pre><code>0001-01-01T00:00:00.000+00:00
  </code></pre>
  <p>But this works:</p>
  <pre><code>public  DateTime Birthdate { get; set; } = DateTime.Now 
  </code></pre>
  <p>however I want to store a custom DateTime</p>