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

Need Help : DST issue

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic