• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

conversion between timezones

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I want to manage dates in differents timezones and want to take in consideration daylights.
I have some reports that will be sent at a specified hour in different timezones and blocked when it is a holiday.
I have some dates corresponding to holidays in differents countries.

for Example : on 01 January 2006 at 7h00 PM, my report must be sent to Tokyo but the time in tokyo is 02 January 2006 2h00 AM (if the 02 January 2006 is a holiday I must block the report), so I need to know the time in Tokyo and detect the change of days.

NB : paris use daylight but not Tokyo

any helps
Thanks
 
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I recommend you to take a look at the following examples in the Java Almanac.

Retrieving Information in All Available Time Zones
Getting the Current Time in Another Zone
Converting Time between Time Zones
[ October 06, 2006: Message edited by: Edwin Dalorzo ]
 
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic