blob: 19b9ec2ee4b12df8c6b1433cc4b9c1e4e8f9cb43 [file] [log] [blame]
Phase 1 - known dates
A --
Date string: Tue Feb 02 -2012 01:02:03 GMT-0800 (Pacific Standard Time)
raw: -125657017077000
toString: Tue Feb 02 -2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toGMTString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toISOString: -002012-02-02T09:02:03.000Z
2 -125657017077000 480
-2012/1/2
1:2:3.0
Date string: Tue Feb 02 -2012 01:02:03 GMT-0800 (Pacific Standard Time)
raw: -125657017077000
toString: Tue Feb 02 -2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toGMTString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toISOString: -002012-02-02T09:02:03.000Z
2 -125657017077000 480
-2012/1/2
1:2:3.0
Date string: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
raw: -125657017077000
toString: Tue Feb 02 -2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toGMTString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toISOString: -002012-02-02T09:02:03.000Z
2 -125657017077000 480
-2012/1/2
1:2:3.0
Date string: -002012-02-02T09:02:03.000Z
raw: -125657017077000
toString: Tue Feb 02 -2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toGMTString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toISOString: -002012-02-02T09:02:03.000Z
2 -125657017077000 480
-2012/1/2
1:2:3.0
B --
Date string: Thu Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
raw: 1328173323000
toString: Thu Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Thu, 02 Feb 2012 09:02:03 GMT
toGMTString: Thu, 02 Feb 2012 09:02:03 GMT
toISOString: 2012-02-02T09:02:03.000Z
2 1328173323000 480
2012/1/4
1:2:3.0
Date string: Thu Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
raw: 1328173323000
toString: Thu Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Thu, 02 Feb 2012 09:02:03 GMT
toGMTString: Thu, 02 Feb 2012 09:02:03 GMT
toISOString: 2012-02-02T09:02:03.000Z
2 1328173323000 480
2012/1/4
1:2:3.0
Date string: Thu, 02 Feb 2012 09:02:03 GMT
raw: 1328173323000
toString: Thu Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Thu, 02 Feb 2012 09:02:03 GMT
toGMTString: Thu, 02 Feb 2012 09:02:03 GMT
toISOString: 2012-02-02T09:02:03.000Z
2 1328173323000 480
2012/1/4
1:2:3.0
Date string: 2012-02-02T09:02:03.000Z
raw: 1328173323000
toString: Thu Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Thu, 02 Feb 2012 09:02:03 GMT
toGMTString: Thu, 02 Feb 2012 09:02:03 GMT
toISOString: 2012-02-02T09:02:03.000Z
2 1328173323000 480
2012/1/4
1:2:3.0
C --
Date string: Tue Feb 02 99999 01:02:03 GMT-0800 (Pacific Standard Time)
raw: 3093499242123000
toString: Tue Feb 02 99999 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 99999 09:02:03 GMT
toGMTString: Tue, 02 Feb 99999 09:02:03 GMT
toISOString: +099999-02-02T09:02:03.000Z
2 3093499242123000 480
99999/1/2
1:2:3.0
Date string: Tue Feb 02 99999 01:02:03 GMT-0800 (Pacific Standard Time)
raw: 3093499242123000
toString: Tue Feb 02 99999 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 99999 09:02:03 GMT
toGMTString: Tue, 02 Feb 99999 09:02:03 GMT
toISOString: +099999-02-02T09:02:03.000Z
2 3093499242123000 480
99999/1/2
1:2:3.0
Date string: Tue, 02 Feb 99999 09:02:03 GMT
raw: 3093499242123000
toString: Tue Feb 02 99999 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 99999 09:02:03 GMT
toGMTString: Tue, 02 Feb 99999 09:02:03 GMT
toISOString: +099999-02-02T09:02:03.000Z
2 3093499242123000 480
99999/1/2
1:2:3.0
Date string: +099999-02-02T09:02:03.000Z
raw: 3093499242123000
toString: Tue Feb 02 99999 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 99999 09:02:03 GMT
toGMTString: Tue, 02 Feb 99999 09:02:03 GMT
toISOString: +099999-02-02T09:02:03.000Z
2 3093499242123000 480
99999/1/2
1:2:3.0
D --
Date string: Fri Feb 02 -99999 01:02:03 GMT-0800 (Pacific Standard Time)
raw: -3217827999477000
toString: Fri Feb 02 -99999 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
toGMTString: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
toISOString: -099999-02-02T09:02:03.000Z
2 -3217827999477000 480
-99999/1/5
1:2:3.0
Date string: Fri Feb 02 -99999 01:02:03 GMT-0800 (Pacific Standard Time)
raw: -3217827999477000
toString: Fri Feb 02 -99999 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
toGMTString: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
toISOString: -099999-02-02T09:02:03.000Z
2 -3217827999477000 480
-99999/1/5
1:2:3.0
Date string: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
raw: -3217827999477000
toString: Fri Feb 02 -99999 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
toGMTString: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
toISOString: -099999-02-02T09:02:03.000Z
2 -3217827999477000 480
-99999/1/5
1:2:3.0
Date string: -099999-02-02T09:02:03.000Z
raw: -3217827999477000
toString: Fri Feb 02 -99999 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
toGMTString: Fri, 02 Feb 100000 B.C. 09:02:03 GMT
toISOString: -099999-02-02T09:02:03.000Z
2 -3217827999477000 480
-99999/1/5
1:2:3.0
E --
Date string: Tue Feb 02 -12 01:02:03 GMT-0800 (Pacific Standard Time)
raw: -62543113077000
toString: Tue Feb 02 -12 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 13 B.C. 09:02:03 GMT
toGMTString: Tue, 02 Feb 13 B.C. 09:02:03 GMT
toISOString: -000012-02-02T09:02:03.000Z
2 -62543113077000 480
-12/1/2
1:2:3.0
Date string: Tue Feb 02 -12 01:02:03 GMT-0800 (Pacific Standard Time)
raw: -62543113077000
toString: Tue Feb 02 -12 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 13 B.C. 09:02:03 GMT
toGMTString: Tue, 02 Feb 13 B.C. 09:02:03 GMT
toISOString: -000012-02-02T09:02:03.000Z
2 -62543113077000 480
-12/1/2
1:2:3.0
Date string: Tue, 02 Feb 13 B.C. 09:02:03 GMT
raw: NaN
toString: Invalid Date
toUTCString: Invalid Date
toGMTString: Invalid Date
Date string: -000012-02-02T09:02:03.000Z
raw: -62543113077000
toString: Tue Feb 02 -12 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 13 B.C. 09:02:03 GMT
toGMTString: Tue, 02 Feb 13 B.C. 09:02:03 GMT
toISOString: -000012-02-02T09:02:03.000Z
2 -62543113077000 480
-12/1/2
1:2:3.0
F --
Date string: Fri Feb 02 1912 01:02:03 GMT-0800 (Pacific Standard Time)
raw: -1827586677000
toString: Fri Feb 02 1912 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Fri, 02 Feb 1912 09:02:03 GMT
toGMTString: Fri, 02 Feb 1912 09:02:03 GMT
toISOString: 1912-02-02T09:02:03.000Z
2 -1827586677000 480
1912/1/5
1:2:3.0
Date string: Fri Feb 02 1912 01:02:03 GMT-0800 (Pacific Standard Time)
raw: -1827586677000
toString: Fri Feb 02 1912 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Fri, 02 Feb 1912 09:02:03 GMT
toGMTString: Fri, 02 Feb 1912 09:02:03 GMT
toISOString: 1912-02-02T09:02:03.000Z
2 -1827586677000 480
1912/1/5
1:2:3.0
Date string: Fri, 02 Feb 1912 09:02:03 GMT
raw: -1827586677000
toString: Fri Feb 02 1912 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Fri, 02 Feb 1912 09:02:03 GMT
toGMTString: Fri, 02 Feb 1912 09:02:03 GMT
toISOString: 1912-02-02T09:02:03.000Z
2 -1827586677000 480
1912/1/5
1:2:3.0
Date string: 1912-02-02T09:02:03.000Z
raw: -1827586677000
toString: Fri Feb 02 1912 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Fri, 02 Feb 1912 09:02:03 GMT
toGMTString: Fri, 02 Feb 1912 09:02:03 GMT
toISOString: 1912-02-02T09:02:03.000Z
2 -1827586677000 480
1912/1/5
1:2:3.0
Phase 2 - parsing sample date strings
Date string: Tue Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
raw: 1328173323000
toString: Thu Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Thu, 02 Feb 2012 09:02:03 GMT
toGMTString: Thu, 02 Feb 2012 09:02:03 GMT
toISOString: 2012-02-02T09:02:03.000Z
2 1328173323000 480
2012/1/4
1:2:3.0
Date string: Tue Feb 02 2012 01:02:03 GMT+0800 (prisec)
raw: 1328115723000
toString: Wed Feb 01 2012 09:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Wed, 01 Feb 2012 17:02:03 GMT
toGMTString: Wed, 01 Feb 2012 17:02:03 GMT
toISOString: 2012-02-01T17:02:03.000Z
1 1328115723000 480
2012/1/3
9:2:3.0
Date string: Tue Feb 02 2012 01:02:03 GMT+0000
raw: 1328144523000
toString: Wed Feb 01 2012 17:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Thu, 02 Feb 2012 01:02:03 GMT
toGMTString: Thu, 02 Feb 2012 01:02:03 GMT
toISOString: 2012-02-02T01:02:03.000Z
1 1328144523000 480
2012/1/3
17:2:3.0
Date string: Tue Feb 02 2012 01:02:03 GMT-0000
raw: 1328144523000
toString: Wed Feb 01 2012 17:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Thu, 02 Feb 2012 01:02:03 GMT
toGMTString: Thu, 02 Feb 2012 01:02:03 GMT
toISOString: 2012-02-02T01:02:03.000Z
1 1328144523000 480
2012/1/3
17:2:3.0
Date string: Tue Feb 02 2012 01:02:03 GMT+0430 (prisec@)
raw: 1328128323000
toString: Wed Feb 01 2012 12:32:03 GMT-0800 (Pacific Standard Time)
toUTCString: Wed, 01 Feb 2012 20:32:03 GMT
toGMTString: Wed, 01 Feb 2012 20:32:03 GMT
toISOString: 2012-02-01T20:32:03.000Z
1 1328128323000 480
2012/1/3
12:32:3.0
Date string: Tue Feb 2 01:02:03 PST 2013 B.C.
raw: -125657017077000
toString: Tue Feb 02 -2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toGMTString: Tue, 02 Feb 2013 B.C. 09:02:03 GMT
toISOString: -002012-02-02T09:02:03.000Z
2 -125657017077000 480
-2012/1/2
1:2:3.0
Date string: Thu Feb 2 01:02:03 PST 2012
raw: 1328173323000
toString: Thu Feb 02 2012 01:02:03 GMT-0800 (Pacific Standard Time)
toUTCString: Thu, 02 Feb 2012 09:02:03 GMT
toGMTString: Thu, 02 Feb 2012 09:02:03 GMT
toISOString: 2012-02-02T09:02:03.000Z
2 1328173323000 480
2012/1/4
1:2:3.0