title: How to get last modified date of json file in angular 2
body: <p>I am getting data from JSON file.</p>
  
  <p>I want last modified datetime of that json file</p>
  
  <p>here is how I am fetching data  from JSON file</p>
  
  <pre><code>private _url = 'http://localhost:54362/app/output.json';
   this.http.get(this._url)
                      .toPromise()
                      .then((response) =&gt; {
                          this.jsonData = response.json();
                      }).catch((err) =&gt; {
                          console.log(err);
                      });
  </code></pre>
  
  <p>How can I  get lastModified date ??</p>
  
  <p><strong>EDIT :</strong></p>
  
  <p>In header I am getting like this ...</p>
  
  <pre><code>console.log(response.headers._headers)
  
  
  Map {"date" =&gt; ["Thu, 28 Dec 2017 08:29:15 GMT"], "etag" =&gt; [""8b6668d5a47fd31:0""], "last-modified" =&gt; ["Thu, 28 Dec 2017 06:26:45 GMT"], "server" =&gt; ["Microsoft-IIS/10.0"], "x-powered-by" =&gt; ["ASP.NET"]…}
  </code></pre>
  
  <p>How to access Last Modified date In this ???</p>