Uploaded by Aman Lakhwaria

date

advertisement
<html>
<head>
<script>
class A extends Date
{
}
var obj = new A();
document.write(obj.getDate()+ "-"+obj.getMonth()+"-"+obj.getFullYear());
</script>
</head>
</html>
Download