G
Guest
I am writing a "worldclock" application and hit a very neat problem. How can
you tell that you've entered a daylight savings time period if the device
timezone does not change time during DST (I.e. Caracas, La Paz)?
methods like TimeZone.Isdaylightsavingstime(...now()) return false because
the system timezone does not use DST. If I change the device to Eastern time
it works fine but this is not wanted.
Is there a way to determine that it is daylight savings time in other areas
or that we are in the DST season programatically?
you tell that you've entered a daylight savings time period if the device
timezone does not change time during DST (I.e. Caracas, La Paz)?
methods like TimeZone.Isdaylightsavingstime(...now()) return false because
the system timezone does not use DST. If I change the device to Eastern time
it works fine but this is not wanted.
Is there a way to determine that it is daylight savings time in other areas
or that we are in the DST season programatically?