@mrhooDec 13.2006 — #If you want to return the actual name of the time zone it's
a little hit or miss- different browsers return different strings.
Microsoft IE returns values like 'EST', while the mozillas return
'Eastern Standard Time'; and I can't find it at all in Opera.
(I hope somebody using Safari can confirm it returns a timeString
like Mozilla)
You can cover the bases with this: [CODE]var tz= function(){ var D=new Date() var str=D.toTimeString(); M=str.match(/(GMT[^(]+()?([a-z ]+))?$/i); return (M && M[2])? M[2]: 'GMT plus '+(D.getTimezoneOffset()/60).toFixed(1)+' hours'; }[/CODE]