WinCE
(1)
Windows Embedded
(1)
DisableAutoDaylightTimeSet
(1)
HomeDST
(1)
AutoDST
(1)
SetDaylightTime
(1)
EMVP
(1)
Eurotech.it.nospam
(1)

How do you disable daylight savings auto-adjustment in WinCE?

Asked By Scott Anderson
19-Nov-09 08:29 PM
I want to programatically uncheck the "automatically adjust the clock for
daylight savings" check box from an application running in WinCE.

Google searches indicate that you can do this in Windows by setting the
DisableAutoDaylightTimeSet value under the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation key.
This key does not appear to exist in WinCE. Is there a different way to do
this in WinCE?

The documentation (http://msdn.microsoft.com/en-us/library/bb202749.

Luca Calligaris [eMVP] replied to Scott Anderson
20-Nov-09 03:23 AM
The documentation (http://msdn.microsoft.com/en-us/library/bb202749.aspx)
describe the correct key and even a function (SetDaylightTime) which can be
helpful

--
Luca Calligaris (MVP-Windows Embedded)
l.calligaris.nospam@eurotech.it.nospam
www.eurotech.it

Thank you for your reply.

Scott Anderson replied to Luca Calligaris [eMVP]
25-Nov-09 06:49 PM
Thank you for your reply.  It looks like that key and function allow you to
enable or disable daylight savings.  What I was hoping for was the ability to
set auto-adjust for daylight savings to true or false.  After looking at your
link to the HomeDST key I found a link to the AutoDST key that seems to
accompish that.  However, it looks like for that to work the device needs to
have SNTP service.  Is there anyway to do this without SNTP?

Thanks!
Post Question To EggHeadCafe