I am working with the tumbler API and I am using the express framework for node.js, but I have a problem using the tumblr oAuth. The problem is the difference in timezones.
How I can change my current timezone?
You can set the TZ environment variable before calling any date functions.
> process.env.TZ = 'Europe/Amsterdam'
'Europe/Amsterdam'
> d = new Date()
Wed Mar 06 2013 23:30:42 GMT+0100 (CET)
> d.toString()
'Wed Mar 06 2013 23:30:42 GMT+0100 (CET)'
> d.toUTCString()
'Wed, 06 Mar 2013 22:30:42 GMT'