Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Calculating two date difference in *ngFor loop

$
0
0

@yasirpanjsheri wrote:

I have an array of objects where I am looping through to display data in the HTML using *ngFor... each object also contains 2 dates , start and end.

How can I calculate the difference and display it in months / years ?

what is the best way in this case to achieve this, thanx

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>