I typed \"date\" in console...and I get Tue Sep 20 01:01:49 PDT 2011 ...which is correct.
Tue Sep 20 01:01:49 PDT 2011
But then I do this in node.js, and I get the wrong time.
Note you can avoid this confusion by using a node.js package like timezonecomplete or timezone-js which have an interface that is much less error-prone for date and time manipulation.