Reputation: 11
I have create my application using Entity framework & Angularjs & Mvc 5
when i will bind data of Company in table using ng-repeat.found date in this format /Date(1420137000000)/.
How we can convert it in date format.
at time of edit records same date fromat is showing in ng-model control
how can convert it in date format ??
Upvotes: 1
Views: 27
Reputation: 222582
Use one of the date format filter
,
{{1420137000000 | date:'yyyy-MM-dd HH:mm:ss Z'}}
Upvotes: 1