Compartilhar via


What's This New Time Zone Settings Component?

From searching back through the archives of the newsgroup it appears that there have been one-off asks since 2003 to improve the ability to set the default time zone in Target Designer to something other than GMT. We first addressed this by providing a tip article seen here (https://msdn2.microsoft.com/en-us/embedded/aa731221.aspx), that walks you through the process of editing the registry settings in TD to do just that.

Well, now we finally have a component that allows you to set the time zone in TD before building the runtime. In Settings choose the time zone from the drop-down list.

This list maintains parity with the list of time zones provided in the latest XPe database update to time zones from Windows Sustained Engineering, namely KB931836 (this update can be found as part of the April 2007 security updates for FP2007). This component is designed to be used on an FP2007 database, but it is possible to extract this new component from the EXE package and import it into an SP2 database. To do this:

  • Import the SP2 April Security updates into your SP2 database (this is to ensure that you have KB931836 in the database, which the Time Zone Settings component maps to)

  • Use WinZip to extract the contents of the KB934347 EXE package that you download

  • Open the timezonesettings.sld, delete the KB931836 component and package, then save the sld with a new name e.g. SP2_timezonesettings.sld (so you do not overwrite the original)

  • In DBMgr click the Import button and navigate to the sld folder for KB934347, and select the updated timezonesettings.sld to import. NOTE- uncheck "copy repository files to repository root" checkbox before you import.

  • You can now add the Time Zone Settings component to your configuration in TD.

Enjoy!

- Lynda