1
2
3
4
5
6
<script type="text/javascript">  
var nowdate =newDate();
var brithday ="${sepeList.birthDate}";
var age =nowdate.getFullYear() - brithday.substr(0,4);
document.write(age);
</script>