File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with converting TimeZone as PST

 
Naresh Talluri
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 327
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Err....you may want to read the API docs.....Calendar.getTimeInMillis()

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic