Q:

Is date() function in node js giving server side date or client side date? 

I am new to Node JS.  If I write Date() in node.js will it give server side date or it acts like its original javascript behavior as javascript Date() gives client PC date.  So in Node JS how will it perform its task? 

A:

If the date is processed by Node.js, results will be from server-side.  You can clearly notice this by the fact that the client will not see date but rather the date result. 
Server-side date processing (app.js):
response.render("home", {now: Date.now()});

If it's loaded on the client side, for example, the code residing on an Node.js HTML template, then the date results will be from the client. 
Client side processing (index.html):
var now = Date.now();
document.getElementById('now').innerHTML = now;

