Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular date pipe

// In Angular 
// Html
<p>{{myDate | date: 'dd-MM-yyyy'}}</p>
// Typescript
myDate: Date = new Date();
 
PREVIOUS NEXT
Tagged: #angular #date #pipe
ADD COMMENT
Topic
Name
3+6 =