title: Check Existing Date object is in UTC - Javascript
body: <p>I have used a Javascript function for converting date to UTC date as follows:</p>
  
  <pre><code>Date.prototype.convertToUTC = function () {
  var month = this.getMonth();
  var day = this.getDate();
  var year = this.getFullYear();
  return new Date(Date.UTC(year, month, day));
  }
  </code></pre>
  
  <p>Now the problem arises when the date on which this function is applied is already in UTC. Since I don't know whether user will call this method on UTC/Local date, I want to ensure conversion happens only if it is not in UTC. Please help.</p>