Answers for "set local time in node"

0

set local time in node

const nDate = new Date().toLocaleString('en-US', {
  timeZone: 'Asia/Calcutta'
});

console.log(nDate);
Posted by: Guest on May-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language