04-05-2011 11:27 AM
in my blackberry 6 widget I try to use following JavaScript-Code to calculate timezone of the client.
var tiz = -(new Date().getTimezoneOffset() / 60);
Here you can find online example.
Unfortunately BB6 calculates only 0.
May be someone has an idea what's the matter here or maybe suggests code that works better on BB6.
Thanks in advance!
Daniel
04-05-2011 08:47 PM
There is a thread below that describes a known issue on some models of BlackBerry devices running OS 6.0 around timezone offsets.