Better you can try Using GregorianCalendar which has the facility to take
timezone as an argument and works fine according to the given timezone.
Actually we used it in our project and succeeded.

Thanx
Yogaraj

-----Original Message-----
From: Chris Pratt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 7:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Briish summer Time formating.


I'd bet it has something to do with the fact that you're forcing it to use
the GMT Time Zone, which doesn't track Daylight Savings Time's.  You
probably just have to use the default Time Zone (if you're in the UK).
    (*Chris*)

----- Original Message -----
From: "Andy Cobley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 7:53 AM
Subject: [JSP-INTEREST] Briish summer Time formating.


> I do apologise to everyone for this question, but exactly how do I format
a
> time for "British Summer Time" ?  Currently I use:
>
> SimpleDateFormat formatter= new SimpleDateFormat ("E hh:mm a (dd/MM)");
> formatter.setTimeZone(TimeZone.getTimeZone("GMT"));
> String OutString = formatter.format(DatePosted);
>
> I know I'm missing something but can't quite put my finger on it.
> Suggestions please ?
>
> Andy C
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to