Timestamp Format: 23.12.2015 08:34:50

//23.12.2015 08:34:50
var a = new Date().toString ();
var parts = a.split(" ");
var mon = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];

for (var i = 0; i < 12; i++){
    parts[1] = parts[1].replace(mon[i],i + 1);
}
parts[1] = parts[1].padStart(2,"0");
var TS = parts[2] + "." + parts[1] + "." + parts[3] + " " + parts[4];
digimax