user6721756 user6721756 - 2 months ago 17
AngularJS Question

Change date format in listing

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


You can use the angular date filter,

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