aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Need Help : DST issue  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Need Help : DST issue  " Watch "Need Help : DST issue  " New topic
Author

Need Help : DST issue

ani jadhao
Ranch Hand

Joined: Dec 23, 2008
Posts: 62
Hello,
I am working on a DST issue. In my application , I have a timze zone , CDT and CST GMT -6, where DST is supposed to end on 1nd of nov Sun 2009. As the DST ends , the clocks are moved back to 1 hrs . Means when there will be 2am in the clock, the clock will be reversed back 1 hr and all clocks are adjusted to 1am. i.e. 1 hr more.

Now in my application , I am putting an entry in the database at 1.01am of 1.12 am 1nov sun 2009. Entry goes well in the data base as user selected. Now at the time specified by customer , i.e. 1.12 am an trigger should pick the entry from db. The trigger would be caused by a poller continuously polling db after 2 mins each for any new entry, matches the current time and db time entered by user , If the diff is less than 120 sec , then only the trigger will be successful and user will be notified for the further process.For above entries Ideally the tigger should successfully be caused at 1.10am , but the trigger is executing right after 1 hr . This is causing b'coz the DST ends at 2am and clocks are reset back to 1 am .

How can I identify the timezone of the time entered in db, from which I can get the DST offset and send the call to customer appropriately.
Can any one please tell me how can I handle this situation. How can I make customer and my system in time sync independent of DST. ?

Please reply
thanks in advance.
Ani


SCJP 1.4 : 91%
SCWCD 5: 96%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help : DST issue