brianc/node-postgres — pull request #213 by gurjeet (2012-11-03 12:48:32+00:00)
Title: Use JS Date's getFullYear() in first example.

In year 2012, seeing the output of 112 confused me, and would potentially
confuse any JS noob. I thought it was some bug in node-postgres.

Presumably, JS starts counting time from Jan 1, 1900!

Also, according to [1], getYear() is deprecated and one should use getFullYear()
instead.

[1] http://www.w3schools.com/jsref/jsref_obj_date.asp