Day Light Saving Time .Code
807588Jan 30 2009 — edited Jan 30 2009Hello,
I am developing one application, which includes time handling of normal time and DST as well.
I am searching for a help(or code) , by which I get to know how to handle DST changes in java code.
My requirement :
Suppose in 2nd Nov 08 , GMT -8 , Central Daylight Time ends and CST starts , mean clocks will move backwards 1 hr i.e. from 2 am to 1 am. On my website I am showing time combo box to customer , where customer will select a time in HH:MM
Now if customer has selected 2:09am , which in turn gonna be 1:09 as DST ends and clocks will move backward 1 hr. So how to handle this DST change java code, so that when customer enters 2 am it will be saved as 1 am in database when its in DST,
Please help me. A code provision would be great help.
thanks in advance
Ani