title: How can I omit hours, minutes, seconds from Javascript Date?
body: <p>I am converting a Swift UNIX date into a Javascript Date. All is good except I don't want the hours, minutes, or seconds after the date.</p>
  <p>Instead of 1975-03-31T02:59:40.676Z, I need 1975-03-31T00:00:00.000Z. How can I do this in my below code??</p>
  <pre><code>const swiftToJsDate = (swiftUnixDate) =&gt; {
    var swiftOffset = Date.UTC(2001, 0, 0)
    const date = new Date(swiftOffset + swiftUnixDate * 1000)
    console.log(date) // -&gt; 1975-03-31T02:59:40.676Z
  }
  </code></pre>