Hello,

If you're using the web client, which I suspect most people will be
doing, you could write some Javascript to get an offset from GMT in
minutes, as documented here:
http://www.w3schools.com/jsref/jsref_getTimezoneOffset.asp  -  the
problem with the Javascript getTimezoneOffset() function is that it
includes DST, so the value returned will vary.

The problem with timezones and Javascript is that, to my knowledge
(which may be out of date), there is no defined API but rather a few
random methods.  It's not like using Java and having access to
java.util.Timezone or java.util.Calendar.

A quick Google returns a number of libraries, but at that point you're
getting into serious integration effort as opposed to a couple quick
lines of JS.  I reckon you should raise a RFE for Midtier to include a
Javascript library to give you access to the correct timezone in text
form, i.e. Europe/London.

The browser does submit a timezone and that is available to the
internals of Midtier.  I guess a $TIMEZONE$ keyword would be nice, if it
hasn't already been invented.


John

-- 
Single Sign On for AR System
http://www.javasystemsolutions.com/jss/ssoplugin

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to