• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Timezone Issue

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have been given a requirement where the time on switzerland website is being displayed in BST.This needs to be corrected to display the time according to switzerland timezone.Parameters that are available with me is:

1. date object created from string for e.g "2013-07-21 16:30" (Date dateObject = DateTimeFormat.getFormat("yyyy-MM-dd HH:mm").parse("2013-07-21 16:30");).Here the time in date object is actually in BST.But after parsing date it returns Sun Jul 21 16:30:00 IST 2013.

I have tried few solutions but none of them seems to be working :



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic