Hi Eric
I am already using that code which you have given me and it is working fine. Just I want to know more information on, why it is in US format but not in UK format when comparing/working on dates dates!
I posted my last reply just to improve my knowledge in javascript and the link which you have given me solved all my troubles..
Thanks for all your timely help...