title: Equivalent of PHP gmdate
body: <p>I'm trying to sign an Amazon request and I need the following timestamp format:</p>
  
  <pre><code>gmdate('Y-m-d\TH:i:s\Z');
  </code></pre>
  
  <p>How can I obtain that in a nodejs environment? Many thanks in advance.</p>