i cant see ur response since that link is blocked in my office..
anyways thanks for ur response.
but i got the solution in the meanwhile and in the following way..
var curdate = new Date(null);
This is what i want and i got it..