It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes Time Zone Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Time Zone Issue" Watch "Time Zone Issue" New topic
Author

Time Zone Issue

Karthick Dharani Vidhya
Ranch Hand

Joined: Feb 23, 2008
Posts: 88
Hi,

I have a TimeZone problem.

I have a dete in IST format say 3:24:58 PM IST 2008

I need the corresponding London time, I used the formatter to do it for me and what i get is 10:55:44 AM IST 2008. Why does it come in IST? I need the output as 10:55:44 AM BST 2008. Here is the code that I used to convert the Indian Time to equal London Time.

/* The one that gives corresponding london time*/


/* The London Date Formatter*/


Any help on this ASAP would be nice!!


Karthick D V
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Time Zone Issue
 
Similar Threads
Problem in SimpleDateFormat
Problem with day light savings in Simple Date Formatter
Cannot create file with certain name
weird java dates!!!!
Help required for this program