Inspecting date1 above results in "2011-03-12T23:30:00-08:00"; date2 is "2011-03-13T03:30:00-04:00". The difference in offset is 4 hours instead of the usual 3, because DST is already in effect in New York but not yet in Los Angeles. The two DateAndTime objects are the same time in that they both are 3477454200000 milliseconds. Only their time zones are different.
|