Hi Ganesh,
<html>
<title>ganesh</title>
<body>
<script language="javascript" type="text/javascript">
var now = new Date();
var Hour = now.getHours();
var minute = now.getMinutes();
var second = now.getSeconds();
var monthnumber = now.getMonth();
var monthday = now.getDate();
var year = now.getFullYear();
alert(Hour);
alert(minute);
alert(second);
alert(monthnumber);
alert(monthday);
alert(year);
</script>
</body>
</html>
check the above code.
Aug 19, 2010