Table of contents
TOC
Collapse the table of content
Expand the table of content

Disabling NITZ or daylight saving time

Last Updated: 12/12/2016

OEMs can configure NITZ to handle daylight saving time appropriately for their market, or disable automatic setting of date and time completely.

By default, the OS automatically sets the time and date by using Network Identity and Time Zone (NITZ). OEMs can configure NITZ to handle daylight saving time appropriately for their market, or disable automatic setting of date and time on the device completely if NITZ is not supported by the network.

In addition, if the device will be sold in a country or region that does not use daylight saving time, partners can disable it on the device. This will help the automatic time algorithm choose the correct time zone with greater accuracy.

Constraints: None

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Name="DisableNITZorDST"  
                         Description="Use to configure NITZ to handle DST or disable automatic date and time setting if NITZ is not supported."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <Static>  
    
        <Settings Path="AutomaticTime">  
    
          <!-- Use to disable automatic date and time configuration -->
          <Setting Name="EnableAutomaticTime" Value="" /> 
    
          <!-- Use to disable automatic DST adjustment -->
          <Setting Name="DisableDaylightSavingsTime" Value="" /> 
    
       </Settings>  
    
      </Static>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. The following values are valid for EnableAutomaticTime:

    ValueDescription

    0

    Use to disable automatic time setting with NITZ.

    1

    Use to enable automatic time setting with NITZ.

  4. The following values are valid for DisableDaylightSavingsTime:

    ValueDescription

    0

    Use to enable daylight saving time.

    1

    Use to disable daylight saving time.

  5. Delete either of the EnableAutomaticTime or DisableDaylightSavingsTime settings if the feature does not need to be disabled.

Testing steps:

  1. Flash a build containing this customization to a device with a SIM or UICC.

  2. If you have disabled automatic time setting with NITZ, ensure that the date and time is not set automatically for the user during setup.

    If you have disabled NITZ, the default time zone shown during setup will come from the country/region default time zone list based on the current country/region setting. Also, the date + time screen in Settings will have fields for Time zone, Date, and Time, but no Set automatically toggle.

  3. If daylight saving time has been disabled and automatic time is enabled, the device determines the most likely time zone by the current offset only.

Send comments about this topic to Microsoft

© 2017 Microsoft