Answers for "angular pipe input date"

12

angular date pipe

// In Angular 
// Html
<p>{{myDate | date: 'dd-MM-yyyy'}}</p>
// Typescript
myDate: Date = new Date();
Posted by: Guest on July-13-2020
0

applying datepipe on interepolating date in html from typescipt

tooltip="{{recentDate | date: 'medium'}}" // Using interpolation
Posted by: Guest on August-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language