I have two date/time stamps:
d1 = 2011-03-02T15:30:18-08:00 d2 = 2011-03-02T15:36:05-08:00
I want to be above to compare the two:
Given the differences in date formats and capability between browsers, I'd really reccomend you use a library devoted to DateTime handling. JS support for it is notoriously horrendous. I'm a HUGE fan of date.js
http://www.datejs.com/