title: Javascript - Convert UTC time to a specific timezone
body: <p>I have a time string in HH:mm format (example - 13:45). I am using rc-time-picker which by default formats it using moment, which converts it to GMT. I have been trying to convert this output time to a specific timezone (different than my server's timezone), but to no success.</p>
  
  <p>I have looked at the following options, but haven't had luck because of the mentioned reasons next to them:</p>
  
  <ol>
  <li>Date.prototype.getTimezoneOffset() - but this gives you an offset compared to your server timezone, and not a custom timezone that you can enter</li>
  <li>moment library - In order to convert time to a specific timezone, this requires a utcOffset parameter, which I do not have. Then I thought, I can get utcOffset from another library, so I tried</li>
  <li>moment-timezone library - I tried using the zone.utcOffset(timestamp) function, but then it uses zone (example 'America/Los_Angeles')) and not timezone (example 'PDT'). I only have the timezone, so this option got ruled out too.</li>
  </ol>
  
  <p>This sounds like something really simple to do and others must have faced issues with this. Am I overthinking a straight-forward solution? Can someone please help me here or point me to some better solutions?</p>