wood burning stoves 2.0*
The moose likes Java in General and the fly likes conversion between timezones Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "conversion between timezones" Watch "conversion between timezones" New topic
Author

conversion between timezones

tarik elberrak
Greenhorn

Joined: Oct 06, 2006
Posts: 4
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
Edwin Dalorzo
Ranch Hand

Joined: Dec 31, 2004
Posts: 961
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: conversion between timezones
 
Similar Threads
Change Timezone from GMT to EST, the best way to accomplish?
date
display only 2 rows from a recordset size of 10
FAQ - Everything you ever wanted to know about dates
Handling a strange date format