I'm using moment.js and want to calculate the difference between two timestamp,format them afterwards and display them in a div. 

```
var diffTime = moment(1390310146.791877).diff( 1390309386.271075);

```

This gives me 760 seconds, but I want to format it like this:

(days, hrs, mins, secs) and only show days, hours and seconds if they are higher than 0.

How do I achieve that ?