title: TypeError: Date is not a constructor in Node js
body: <p>I am running a node js app and facing this strange issue.I am not facing this error in another node app.</p>
  
  <p>When i tried to use the javascript date function i am getting error 
  "TypeError: Date is not a constructor "</p>
  
  <p>I tried the following </p>
  
  <pre><code>var now = new Date();
  var date2 = new Date('1995-12-17T03:24:00');
  var dateformated = new Date("2018-05-31T11:37:03Z");
  </code></pre>
  
  <p>Should i need to import some package for this? What might be the issue. I have searched the stackoverflow pages but could not find one specific to node</p>