console.log( new Date( 1497094200000 ) );
("" + (new Date(1497094200000)).toISOString()).replace(/^([^T]+)T(.+)$/,'$1')
"2017-06-10"
("" + (new Date(1497094200000)).toISOString())
.replace(/^([^T]+)T(.+)$/,'$1')
.replace(/^(\d+)-(\d+)-(\d+)$/,'$3.$2.$1')
"10.06.2017"