0

I'm new in Angular.

I want to display db date in 'Sat Mar 10 2001' in this format

How can i put this in my code.

code sample

<td>{{data.act_date}}<td> //format:mm/dd/yyyy
user6721756
  • 87
  • 1
  • 3
  • 13

1 Answers1

2

You can use the angular date filter,

 <pre>  {{ dateBirth | date: 'fullDate' }}</pre>

DEMO

Sajeetharan
  • 203,447
  • 57
  • 330
  • 376