Hi,
On my apex page I have a hidden item P1_STORE_DT which stores date in '01-AUG-13' format.
Now what i need to do is convert this into date in javascript
On page load i execute below code
var d=new Date($v('P1_STORE_DT'));
alert(d);
--further code
new Date works fine in chrome.
But in IE it shows NaN.
How to convert my string into specific format so that it works fine in IE and chrome.