I have not tried this yet, but according to the books, it should work.
function getTimeZoneOffset()
{
var date = new Date();
var offset = date.getTimeZoneOffset();
alert(offset);
}
This is the offset (in minutes) from GMT/UTC.
HTH,
Pete
Maya Muchnik wrote:
> Please, provide a javascript code how to do this.
>
> Peter Alfors wrote:
>
> > It appears that the time-zone offset could be retrieved via javascript
> > on a startup page, then entered in to the users session through an
> > action class / hidden field combo.
> >
> > Its ugly, but it would work.
> >
> > Any better ideas?
begin:vcard
n:;
x-mozilla-html:FALSE
org:<BR><IMG SRC="http://www.irista.com/logo/irista.gif"><BR><BR><FONT Color=#000080><FONT SIZE=2><B>Bringing Vision to Your Supply Chain
adr:;;;;;;
version:2.1
end:vcard