Thank you all for reply...
I would like to know about all the possible date string formats supported by 'Date object' while creating like this, var myDate = new Date (dateString). couldn't get well document anywhere...