how to convert date in hh-mm-ss using datepiep service in ts in angualr code example
Example: angular date pipe
// In Angular
// Html
<p>{{myDate | date: 'dd-MM-yyyy'}}</p>
// Typescript
myDate: Date = new Date();
// In Angular
// Html
<p>{{myDate | date: 'dd-MM-yyyy'}}</p>
// Typescript
myDate: Date = new Date();