title: JavaScript Get Time Central Time Zone
body: <p>I am using a button to update a form field with a date and timestamp.  The issue now is that the request has been made so that anytime these are used they are being updated to the central time zone.  Can anyone help me update the below so I can accomodate?</p>
  
  <pre><code>function getTimeStamp() {
    var now = new Date();
    return ((now.getMonth() + 1) + '/' + (now.getDate()) + '/' + now.getFullYear() + " " + now.getHours() + ':' +
      ((now.getMinutes() &lt; 10) ? ("0" + now.getMinutes()) : (now.getMinutes())) + ':' + ((now.getSeconds() &lt; 10) ? ("0" + now
        .getSeconds()) : (now.getSeconds())));
  }
  
  function setTime() {
    document.getElementById('InsertRecordDate_Received').value = getTimeStamp();
  }
  </code></pre>