I am trying to convert my dashed date 2013-12-11 to 2013/12/11 using the following function:
function convertDate(stringdate) { // Internet Explorer does not
Use String Replace to replace the dashes with slashes.
string.replace(/-/g,"/")