users@glassfish.java.net

Re: Timezones, Glassfish, Two different systems: How do I change the TZ of Glassfish?

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 24 Apr 2009 11:14:22 -0700

Can you use Calendar instead of Date to construct a date with the expected TZ?

thanks,
-marina

rdblaha1 wrote:
> I am developing on my local system (Windows XP) set to the Time Zone in which
> I work. I am developing for a system that provides Glassfish in UTC (on the
> production server - non-Windows). When I run my Date (and time)
> calculations which also are to provide access from any time zone I cannot
> test my software to provide similar results as what the production
> environment will return.
>
> Is there a way to change the timezone for Glassfish on my local system
> without changing the timezone of the whole system?
>
>