transform a date object to specfic text javascript code example
Example: js string to date
var myDate = new Date("2013/1/16");
var str = "2013/1/16";
var strToDate = new Date(str);
var myDate = new Date("2013/1/16");
var str = "2013/1/16";
var strToDate = new Date(str);