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
robins
  • 1,668
  • 6
  • 33
  • 69

1 Answers1

2

You can use the angular date filter,

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

DEMO

Sajeetharan
  • 216,225
  • 63
  • 350
  • 396