moment.js is a lightweight and robust javascript date library for parsing, manipulating and formatting dates. Current javascript date method is just too basic to fulfil slightly complex date manipulation such as differences between dates, convert Unixtime stamp, date display customization. Also, you can easily achieve twitter's style relative time display (eg, posted 3 minutes ago).