| Author |
Diffrenet TimeZone in one webserver.
|
Bennet Xavier
Ranch Hand
Joined: Jun 19, 2008
Posts: 162
|
|
Hi All,
Can we have different timezone for each application in one webserver.
Eg: i have 4 application running in tomcat, each application needs different time zone, is it possible to achieve, if yes, how to do that.
Thanks in Advance,
Bennet.
|
 |
Devaka Cooray
Saloon Keeper
Joined: Jul 29, 2008
Posts: 2729
|
|
|
You can declaratively tune up the time zone by changing the milliseconds of a date/time. On the other hand, you may create a TimeZone object with the Zone ID, and use it with Calendar - that will include the daylight saving as well.
|
Author of ExamLab (Download) - the free mock exam kit for SCJP / OCPJP
HELP me! -- Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
|
 |
 |
|
|
subject: Diffrenet TimeZone in one webserver.
|
|
|