Given a Rails timestamp, how can I use JavaScript to determine how many days old the timestamp is?
<p>Rails provides a timestamp like follows: 2012-12-21T01:09:32Z</p>

<p>How can I use JavaScript to determine how many days old the timestamp is?</p>

<p>Thanks</p>
