title: JavaScript displayed time is different on two devices (Apple-Windows)
body: <p>I'm currently working on a website that runs on various devices (Apple, Windows, smartphone, tablet, laptop). From my backend PHP script, datetimevalues in string format are sent to my JavaScript. When I run this code on my laptop (Windows-Chrome) I got a different time than when I ran it on my smartphone (Apple - Safari). On my smartphone it shows an hour too much. How can I fix this to get the same values to process in further code? I would like to keep the PHP as it is if possible.</p>
  
  <p>PHP string value:</p>
  
  <pre><code>2019-01-01 01:00:00
  </code></pre>
  
  <p>On my webpage I've tested this code,</p>
  
  <pre><code>var phpValue = "&lt;?php echo $tijdCountdownPauze; ?&gt;";
  var phpValueSplitted = phpValue.split(" "); 
  var phpvalueCombine = phpValueSplitted[0] + "T" + phpValueSplitted[1];
  var phpValueCombinedDate = new Date(phpvalueCombine);
  document.write(phpValueCombinedDate);
  document.write("&lt;br&gt;");
  </code></pre>
  
  <p>Output of Windows laptop in Chrome:</p>
  
  <pre><code>Tue Jan 01 2019 01:00:00 GMT+0100 (Midden-Europese standaardtijd)
  </code></pre>
  
  <p>Output of Apple iPhone in Safari:</p>
  
  <pre><code>Tue Jan 01 2019 02:00:00 GMT+0100 (CET)
  </code></pre>