title: date-fns | How do I format to UTC
body: <h2>Problem</h2>
  
  <p>It looks like when I use the <code>format()</code> function, it automatically convert the original UTC time into my timezone (UTC+8). I have been digging through their docs for hours and couldn't seem to find a way to default it to UTC time.</p>
  
  <pre class="lang-js prettyprint-override"><code>import { parseISO, format } from "date-fns";
  
  const time = "2019-10-25T08:10:00Z";
  
  const parsedTime = parseISO(time);
  console.log(parsedTime); // 2019-10-25T08:10:00.000Z
  
  const formattedTime = format(parsedTime, "yyyy-MM-dd kk:mm:ss");
  console.log(formattedTime); // 2019-10-25 16:10:00 &lt;-- 8 HOURS OFF!!
  </code></pre>
  
  <p>I have tried to use the package <code>data-fns-tz</code> and use something like</p>
  
  <pre class="lang-js prettyprint-override"><code>format(parsedTime, "yyyy-MM-dd kk:mm:ss", {timeZone: "UTC"});
  </code></pre>
  
  <p>still no luck. </p>
  
  <p>Please help!</p>
  
  <h2>Expected Output</h2>
  
  <p><code>2019-10-25 08:10:00</code></p>
  
  <h2>Actual Output</h2>
  
  <p><code>2019-10-25 16:10:00</code></p>