how to format date in Component of angular 5 - Stack Overflow
https://stackoverflow.com/questions/48183677/how-to-format-date-in-component-of-angular-5
WEBJan 10, 2018 · const format = 'dd/MM/yyyy'; const myDate = '2019-06-29'; const locale = 'en-US'; const formattedDate = formatDate(myDate, format, locale); According to the API it takes as param either a date string, a Date object, or a timestamp. Gotcha: Out of the box, only en-US is supported. If you need to add another locale, you need to add it and ...
DA: 81 PA: 8 MOZ Rank: 49