Organizational Research By

Surprising Reserch Topic

how to use timezone offset in nodejs


how to use timezone offset in nodejs  using -'javascript,node.js,datetime,timezone'

I need the next flow:

var a = new Date(1337324400000, 'Europe/Amsterdam'); //+2h
console.log(a); // for example 12:00 Mon ...
a.setTimeZone('Europe/Kiev'); //+3h
console.log(a); // 13:00 Mon ...


Is there such possibility in nodejs utils api ?
    
asked Sep 18, 2015 by rajeshujade
0 votes
76 views



Related Hot Questions



Government Jobs Opening


...