Convert JSON Date to Date format using JavaScript and AngularJS in ASP.Net MVC

Last Reply one month ago By dharmendr

Posted one month ago

Hi,

based upon below url i have generate a grid view dynamically

Display record on HTML Table based upon dynamic control values using AngularJS in ASP.Net MVC

relevant values are displaying properly in grid view

coming to my requirement is

https://i.ibb.co/gtdcFv5/Screenshot-357.png

if you can look at into screenshot here date is dispalying in string format

i need to dispaly date value instead of string

Could you please check it and help me

<thead>
    <tr>
        <th ng-repeat="(header, value) in employees[0]">
            {{header}}
        </th>
    </tr>
</thead>
<tbody>
    <tr ng-repeat="row in employees">
        <td ng-repeat="cell in row">
            {{cell  @*| dateFilter | date:"dd-MM-yyyy"*@}}
        </td>
    </tr>
</tbody>

 

This question does not have replies that have been liked.