javascript - why doesnt print property file.lastModifiedDate of file? -
<tr *ngfor="let file of fileslist; let i=index"> <td><input class="form-control input-sm" value="{{ file.url }}"/></td> <td>{{ file.size/1024 | round }} kb</td> <td>{{ file.lastmodifieddate }} </td> </tr> i see file has property in console log, how can print it? date pipe you, please see below: <td>{{file.lastmodifieddate | date}}</td> this format date, see link above different formats