title: Manage browser DateTime, account DateTime and database DateTime
body: <p><a href="https://i.stack.imgur.com/cdKUD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cdKUD.jpg" alt="enter image description here"></a></p>
  
  <p><strong>Scenario</strong></p>
  
  <ul>
  <li>Bob and Jason are both staffs working for Hotel A in Malaysia.</li>
  <li>Bob accesses to Extranet from Malaysia.</li>
  <li>Jason accesses to Extranet from Dubai (assuming he is travelling).</li>
  <li>Both Bob and Jason expect the time showed in Extranet is the time    representing the current local time of the Hotel. In other words, for a guest going to checkout at 11am, both Bob and Jason see 11am on   Extranet (regardless of the timezone they are in).</li>
  <li>Bob is in the same time zone with the Hotel while Jason is not in    the same time zone with the hotel (4 hours behind).</li>
  <li>A is the value in the browser</li>
  <li>B is the value in text before being sent to server in JSON packet</li>
  <li>C is the value server received it</li>
  <li>D is the value the value being saved in Database</li>
  </ul>
  
  <p><strong>Questions</strong></p>
  
  <ol>
  <li>The value A on the browser if we do new Date:</li>
  <li>On Bob browser: Sat Jan 26 2019 09:00:00 GMT+0800 (Malaysia Time)</li>
  <li>On Jason browser: Sat Jan 26 2019 05:00:00 GMT+0400 (Dubai Time)</li>
  <li>How do we create a value B that strip off the timezone before it’s
  being sent to the server?</li>
  <li>We wanted to strip off the timezone because Jason (who are
  travelling in a different timezone) will intuitively understand
  all the date he inputs to the system meant to be the local time
  of the hotel instead of his current time. So, he don’t expect
  timezone conversion.</li>
  <li>What is the datetime format we should send in JSON to ASP MVC
  server? The goal here is to get the Value instead of timezone.</li>
  <li>What’s the value C? What is the datetime format we should save in Database? The goal here is to keep the Value instead of timezone.</li>
  <li>Whats’s the value of D?</li>
  </ol>
  
  <p>To help you answer my question, you may explain your idea using the format below</p>
  
  <ul>
  <li>Bob A: ?</li>
  <li>Bob B: ?</li>
  <li>Bob C: ?</li>
  <li>Bob D: ?</li>
  <li>Jason A: ?</li>
  <li>Jason B: ?</li>
  <li>Jason C: ?</li>
  <li>Jason D: ?</li>
  </ul>