You can use a time zone name like "GMT+1" to specify a time zone with no DST rules. See the documentation for java.util.TimeZone for more info. -- Len
On Tue, Dec 30, 2008 at 07:25, arif8899 <akma...@gmail.com> wrote: > > i set a variable in tomcat configuration and that is > "-Duser.timezone=Europe/Brussels". i set it into tomcat->configur->java -> > java options textbox. > > This time zone has DST and i get it from the code > > TimeZone.getDefault().useDaylightTime(); it returns true and it is fine. > > now, i want to disable the DST option from this time zone. How can i do > this? > i am using servlet to get the information. > > > Thanks > -- > View this message in context: > http://www.nabble.com/Hot-to-disable-DST-option-from-tomcat-cinfiguration.-tp21216565p21216565.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org