$.ajax({
url: 'http://ip/xx.php',
type: 'get',
dataType: 'json',
success: function (data, status, xhr) {
var date = new Date(xhr.getResponseHeader('Date'));
alert(date.getMonth());
}
url: 'http://ip/xx.php',
type: 'get',
dataType: 'json',
success: function (data, status, xhr) {
var date = new Date(xhr.getResponseHeader('Date'));
alert(date.getMonth());
}
});
____________________________________________________
xx.php
<?php echo "{}";?>