function Age(status, index) {
var aDate = new Date();

var thisYear = aDate.getFullYear();
var bDate = new Date(status);
var brith = bDate.getFullYear();
var age = (thisYear - brith);
return age;
}

posted on 2015-11-18 13:43  嘟嘟熊的麦  阅读(2994)  评论(0编辑  收藏  举报