title: Angular 4: Date pipe, UTC Time to local time: How to tell Angular the current time zone?
body: <p>We are using Angular 4 together with a MVC Application written in .net core.
  The data is received using a SignalR Service, the hub is written in C#. The database provides a Datetime2(7) Field (T-SQL), the content, that gets received, looks like this (for the date-field):</p>
  
  <pre><code>dueDt:"2017-10-02T08:54:00"
  </code></pre>
  
  <p>This time is a UTC Time. We are living in a +2 time zone.
  Now, in the CSHTML-File, we display this value like this:</p>
  
  <pre><code> &lt;small&gt;Due: {{item.dueDt | date:'dd.MM.yy HH:mm'}}&lt;/small&gt;
  </code></pre>
  
  <p>which display something like:
      27.09.17 12:43
  which is fine, the problem is just that our timezone is not +0 but +2, so it should display <strong>14:43</strong> as the time.</p>
  
  <p>I have read somewhere that Angulars DatePipe uses the clients local timezone, but that doesnt seem to happen here. (I have tried this with chrome, firefox and Edge - there is no difference).
  Does anybody have an idea, why this happens or how I can tell Angular what the local timezone is?
  I have tried including angular-moment but it doesnt really work either. (I can detail that, if that seems important, but it is a different issue).</p>