function transDateFormat(d) { var d_elements = new Array();var monthE2N = {Jan:1,Feb:2,Mar:3,Apr:4,May:5,Jun:6,Jul:7,Aug:8,Sep:9,Oct:10,Nov:11,Dec:12};d_elements = d.split(" ");return d_elements[0]+"-"+monthE2N[d_elements[1]]+"-"+d_elements[2];}...