javascript-format-date Format date with toLocaleDateString() and toLocaleTimeString() const date = '2021-02-18T11:38:43.851612Z'; formatDate(date) // 18 Şubat 2021 const time = '2021-02-18T11:38:43.851612Z'; formatTime(time) // 18 Şubat 2021 11:38:43 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString