This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Convert a date and time to a different time zone

Sarath Mohan
Ranch Hand
Posts: 213
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends
How can I display a the date & time converted into a different time zone?
For example I have a time in this format
String date="2002-09-25 13:33:06";
Asssume this is in a database and database server resides in US.
If I view this date in India through a web browser, it should be converted into corresponding indian time.
Do I need to convert the time and store the database?
Can I convert after accessing from the database?
Please help
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic