ToDate

function toDate(ts) {
    let date = new Date(ts*1000);

    return( date.getDate()+"."+(date.getMonth()+1)+"."+date.getFullYear());
}