title: How can I get a correct publish date in TYPO3?
body: <p>I am using TYPO3 7.6.9 and want to use the publish date and expiration date options for content elements in TYPO3, but currently this is not working correctly for me, because the time part seems to be incorrect.</p>
  
  <p>For example:</p>
  
  <p>If I set the publish date to: <strong>18:00 04-09-2016</strong> and the real time is <strong>19:00 04-09-2016</strong> then the element is not visible in frontend. For this reason I have checked some values and it seems that there is a two hour difference to the real time, because <strong>17:00 04-09-2016</strong> is working.</p>
  
  <p>Furthermore I have set the timezone via install tool to UTC and I think that is the problem:</p>
  
  <pre><code>[SYS][phpTimeZone] = UTC
  </code></pre>
  
  <p>I have set the timezone to UTC because I got a two hour difference by using the timezone "Europe/Berlin" and different datetime objects in an extension. I could fix this by set the timezone to UTC, but now I got in trouble with the publish and expiration options.</p>
  
  <p>Is there a solution to get both to work?</p>