You may have a incorrect timezone on the host running your app. The
clock can look right but may be masking an incorrect timezone.
You set the timezone explicitly. Happened to me too... Heres my soln:
static public SimpleDateFormat getFormatter( String pattern ) {
SimpleDateFormat result = new SimpleDateFormat( pattern );
result.setTimeZone( TZ );
return result;
}
static private final TimeZone TZ = TimeZone.getTimeZone( "PST" );
stu
--
Stuart Maclean, Research Associate
University of Washington
ITS Research Program, College of Engineering
Box 352500
Seattle, WA 98195-2500
Tel: (206) 543-0637
ht
tp://www.its.washington.edu
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html