When I use toLocaleDateString in browser it returns
toLocaleDateString
n = new Date() n.toLocaleDateString() \"2/10/2013\"
but in node.js the for
in node.JS you can not get browser's format. Node.JS runs on Server-side.
You have to do date formatting before displaying it in browser at your client side JS framework.