Okay so I can access the HTTP ajax response header using
xhr.getAllResponseHeaders();
but it doesn\'t seem to get the Date with it, though
in your success method:
success: function (data,status, xhr) { console.log(xhr.getResponseHeader('Date')); },
If response is a success
res=xhr.getResponseHeader('Date');
if response fails
res=data.getResponseHeader('Date');