title: Convert current date and time into timestamp object (13 digits)
body: <p>The following is the code for converting java datestamp (13digits) to date (<code>1520488577604</code> to <code>3/12/2018 8:07:02 PM</code>) in C#.</p>
  
  <pre><code>new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)
      .AddMilliseconds((long)value) // put your value here
      .ToLocalTime().ToString("g");
  </code></pre>
  
  <p>I need to reverse this feature, need to convert from <code>3/12/2018 8:07:02 PM</code> to <code>1520488577604</code>.</p>