• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting current time of any country?  RSS feed

 
Namitha karupaiya
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any riliable way to get the current time of any country (or city)?

This may be a paid or free web service, or any Java API.

Any help from anyone will be greatly appreciated.

Thank you very much.
 
Campbell Ritchie
Marshal
Posts: 56518
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the GregorianCalendar class along with the TimeZone classes.
See whether Jakarta Commons or similar has anything.
See whether T�dter's calendar bean gives you any hints.

Bound to be lots more possibilities.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!