title: get the current date from GMT
body: <p>I want to get the date from the GMT time but it returns the date which is one day ahead. How can I get the date mentioned in the GMT string always?</p>
  
  <pre><code>new Date("Mon, 27 Aug 2018 22:00:00 GMT").getDate()
  </code></pre>
  
  <p>This command returns <code>28</code> as the output, but I want <code>27</code>.
  Is there anything I need to add?
  Thanks in advance.</p>