title: Parse the datetime string and convert it to UTC using js-joda/core and js-joda/timezone
body: <p>We have to build a website for our client that runs Angular 9+ in the front end and nodejs is the server backend application. Everything working good.</p>
  <p>Now, my client wants to support customers initially from the following timezones: Indian Time, Pacific Time, Arizona Time, Mountain Time, Central Time and Eastern Time. We are planning to use @js-joda/core and @js-joda/timezone to accomplish the job.</p>
  <p>One of the requirements is to validate the date entered by the user. The date must belong to the current month only. The server is set with UTC timezone. We are thinking about converting the datetime to UTC and then storing it in the (mongodb) database. But we are not sure how we can convert the given date to UTC using js-Joda. We tried using the following code but it doesn't seem to convert.</p>
  <pre><code>var jsJoda = require(&quot;@js-joda/core&quot;);
  require(&quot;@js-joda/timezone&quot;);
  
  var indiaZone = jsJoda.ZoneId.of(&quot;Asia/Calcutta&quot;);
  var localDateTime = jsJoda.LocalDateTime.parse(&quot;2021-10-05T23:18:09.905&quot;);**//&lt;--user entry date**
  var localTime = jsJoda.ZonedDateTime.of(localDateTime, indiaZone);
  var utcZoned = jsJoda.ZonedDateTime.of(localTime, jsJoda.ZoneOffset.UTC);
  console.log('Current Time in UTC: ' + utcZoned.toString()); 
  </code></pre>
  <p>I expected the date printed would be 5.5 hrs behind but it didn't. Can you please assist if I'm in the right direction and also why the UTC time is showing the same time passed?</p>