Gudvit
9/17/2018 - 10:47 AM

parse date for safari from string

const date = '10.07.1999';
let dateArray = date.split('.');
let dateParse = `${dateArray[2]}/${dateArray[0]}/${dateArray[1]}`;


result:

Sat Jul 10 1999 03:00:00 GMT+0300 (Eastern European Summer Time);