Fixes #4748: Fix process date in Node API

http://www.rudder-project.org/redmine/issues/4748