IntelliJ Java IDE
The moose likes Java in General and the fly likes Problem with converting TimeZone as PST Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Problem with converting TimeZone as PST" Watch "Problem with converting TimeZone as PST" New topic
Author

Problem with converting TimeZone as PST

Naresh Talluri
Ranch Hand

Joined: Oct 12, 2007
Posts: 115
Dear All,

I have problem with converting TimeZone in PST,
here the problem is i can able to convert timezone, it is showing time properly, but while trying to get in milli secs iam getting different timezone
like EDT , GMT ...
here is my code

can you please let me know your thoughts,

Thanks,
Jason Irwin
Ranch Hand

Joined: Jun 09, 2009
Posts: 327
Err....you may want to read the API docs.....Calendar.getTimeInMillis()



SCJP6
 
IntelliJ Java IDE
 
subject: Problem with converting TimeZone as PST
 
Threads others viewed
Need to specify the time as GMT while creating the date, JVM is on EST
Problem in Changing Timezone (URGENT)
Time Zone problem
Time difference
Problem in setting TimeZone to PST
IntelliJ Java IDE