function convertDateFromString(dateString) {
var date = new Date(dateString.replace(/-/,"/"))
return date;
}
function convertDateFromString(dateString) {
var arr1 = dateString.split(" ");
var sdate = arr1[0].split('-');
var date = new Date(sdate[0], sdate[1]-1, sdate[2]);
return date;
}
(new Date()).Format("yyyy-MM-dd hh:mm:ss.S")