Description of updates to APIs that enable Windows-based applications to retrieve historically accurate time stamps

Article translations Article translations
Article ID: 960417 - View products that this article applies to.
Expand all | Collapse all

On This Page

INTRODUCTION

This article describes updates to APIs that enable Windows-based applications to retrieve historically accurate time stamps.

MORE INFORMATION

What time functions are updated?

The following time functions are updated by this update:
  • SystemTimeToTzSpecificLocalTime() Converts a time in Coordinated Universal Time (UTC) to a specified time zone's corresponding local time.
  • TzSpecificTimeToSystemTime() Converts a local time to a time in Coordinated Universal Time (UTC).
Note The functions that are listed here use a TIME_ZONE_INFORMATION structure that specifies the START DATE and the END DATE for daylight saving time (DST). By default, the current DST rules are used when no such structure is provided.

When to use these functions in an application

Most date and time stamps that are created and displayed in Windows and in many applications are stored as UTC. Then, they are rendered in local time by using system APIs. Examples of these include Windows file time stamps, Outlook sent and received dates, and event logging time stamps.

Not all built-in, Windows-based applications use these newly updated APIs. However, they are available to all applications, including third-party applications. These functions are useful in many scenarios, such as a user auditing scenario in which the ability to use DST rules for previous years on a current Windows service pack is important.

Generally, if an application requires historically accurate time stamps, these functions should be used.

How to use these functions in an application

For information about syntax, parameters, return value, and examples on how to use these functions in an application, please visit the following Microsoft Developer Network (MSDN) Web sites:

SystemTimeToTzSpecificLocalTime Function
http://msdn.microsoft.com/en-us/library/ms724949(VS.85).aspx
TzSpecificLocalTimeToSystemTime Function
http://msdn.microsoft.com/en-us/library/ms725485(VS.85).aspx
Note This article supersedes article 944340, which describes an earlier version of these APIs. This update improves the performance of the functions, and enables historically accurate time-stamp lookup functionality that was introduced in 944340.

This update applies to the following Windows operating systems:
  • Windows XP Service Pack 3 (SP3)
  • Windows Server 2003 Service Pack 2 (SP2)
  • Windows Vista Service Pack 1 (SP1)
  • Windows Server 2008

UPDATE INFORMATION

Hotfix information for Windows XP

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have Windows XP SP3 installed.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
322389 How to obtain the latest Windows XP service pack

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix replaces the following hotfix:

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
944340 The time stamps are incorrect after you apply update 928388 and then change the time settings to a year that is earlier than 2007 in Windows XP and in Windows Server 2003

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows XP with Service Pack 3, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Kernel32.dll5.1.2600.5719991,74403-Dec-200810:32x86

Hotfix information for Windows Server 2003

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have the following installed:
  • Windows Server 2003 SP2

    For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    889100 How to obtain the latest service pack for Windows Server 2003
  • The 944340 hotfix

    For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    944340 The time stamps are incorrect after you apply update 928388 and then change the time settings to a year that is earlier than 2007 in Windows XP and in Windows Server 2003

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix replaces the following hotfix:

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
944340 The time stamps are incorrect after you apply update 928388 and then change the time settings to a year that is earlier than 2007 in Windows XP and in Windows Server 2003

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Server 2003 with Service Pack 2, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Kernel32.dll5.2.3790.44171,042,94425-Nov-200818:25x86
Windows Server 2003 with Service Pack 2, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Kernel32.dll5.2.3790.44171,982,97625-Nov-200816:29IA-64SP2Not Applicable
Wkernel32.dll5.2.3790.44171,014,78425-Nov-200816:29x86SP2WOW
Windows Server 2003 with Service Pack 2, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Kernel32.dll5.2.3790.44171,513,98425-Nov-200816:30x64SP2Not Applicable
Wkernel32.dll5.2.3790.44171,014,78425-Nov-200816:30x86SP2WOW

Hotfix information for Windows Vista and for Windows Server 2008

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the “Hotfix Request” page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.

Prerequisites

To apply this hotfix on Windows Vista-based computer, you must have Windows Vista SP1 installed.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
No prerequisites are required for Windows Server 2008-based computers.

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Vista and Windows Server 2008 file information notes
The .manifest files and the .mum files that are installed in each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. These files and their associated .cat (security catalog) files are critical to maintaining the state of the updated component. The .cat files are signed with a Microsoft digital signature. The attributes of these security files are not listed.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Kernel32.dll6.0.6001.22315890,36822-Nov-200804:31x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Kernel32.dll6.0.6001.223151,214,97622-Nov-200805:51x64
Kernel32.dll6.0.6001.22315857,60022-Nov-200804:29x86
For all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Kernel32.dll6.0.6001.223152,182,65622-Nov-200805:41IA-64
Kernel32.dll6.0.6001.22315857,60022-Nov-200804:29x86

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Additional file information for Windows Server 2008 and Windows Vista

Additional files for all supported x86-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File namePackage_for_kb960417_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,367
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,431
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,421
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_sc~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,423
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,431
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_winpesrv_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,422
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_winpesrv~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)24-Nov-2008
Time (UTC)23:47
File nameX86_a08d3390a3f795eb9640490dd79afb04_31bf3856ad364e35_6.0.6001.22315_none_f21fc1d1806134de.manifest
File versionNot Applicable
File size696
Date (UTC)24-Nov-2008
Time (UTC)23:47
File nameX86_microsoft-windows-kernel32_31bf3856ad364e35_6.0.6001.22315_none_9441b75e6f6cbd6a.manifest
File versionNot Applicable
File size4,517
Date (UTC)22-Nov-2008
Time (UTC)05:22
Additional files for all supported x64-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameAmd64_27eb8e1c173364810c3681aee0ca9bd3_31bf3856ad364e35_6.0.6001.22315_none_da5b04b3dfced239.manifest
File versionNot Applicable
File size1,042
Date (UTC)24-Nov-2008
Time (UTC)23:47
File nameAmd64_3fa40fbd70d0e50157ad511837ce726c_31bf3856ad364e35_6.0.6001.22315_none_04b1a016e4974ac3.manifest
File versionNot Applicable
File size700
Date (UTC)24-Nov-2008
Time (UTC)23:47
File nameAmd64_microsoft-windows-kernel32_31bf3856ad364e35_6.0.6001.22315_none_f06052e227ca2ea0.manifest
File versionNot Applicable
File size4,523
Date (UTC)22-Nov-2008
Time (UTC)06:17
File namePackage_for_kb960417_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,375
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,439
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,431
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,433
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,439
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,430
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,437
Date (UTC)24-Nov-2008
Time (UTC)23:47
File nameWow64_microsoft-windows-kernel32_31bf3856ad364e35_6.0.6001.22315_none_fab4fd345c2af09b.manifest
File versionNot Applicable
File size5,321
Date (UTC)22-Nov-2008
Time (UTC)05:12
Additional files for all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameIa64_393afc3dbfbb43f13f813ccf7a74b204_31bf3856ad364e35_6.0.6001.22315_none_93731857b2f149f7.manifest
File versionNot Applicable
File size1,040
Date (UTC)24-Nov-2008
Time (UTC)23:47
File nameIa64_a1cbdf62cfc8fddbdd54e27cc15736a0_31bf3856ad364e35_6.0.6001.22315_none_2b945e30eba4300a.manifest
File versionNot Applicable
File size698
Date (UTC)24-Nov-2008
Time (UTC)23:47
File nameIa64_microsoft-windows-kernel32_31bf3856ad364e35_6.0.6001.22315_none_94435b546f6ac666.manifest
File versionNot Applicable
File size4,520
Date (UTC)22-Nov-2008
Time (UTC)06:07
File namePackage_for_kb960417_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,426
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_server~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,434
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_winpesrv_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,426
Date (UTC)24-Nov-2008
Time (UTC)23:47
File namePackage_for_kb960417_winpesrv~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,433
Date (UTC)24-Nov-2008
Time (UTC)23:47
File nameWow64_microsoft-windows-kernel32_31bf3856ad364e35_6.0.6001.22315_none_fab4fd345c2af09b.manifest
File versionNot Applicable
File size5,321
Date (UTC)22-Nov-2008
Time (UTC)05:12

Properties

Article ID: 960417 - Last Review: October 8, 2011 - Revision: 3.0
APPLIES TO
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
Keywords: 
kbautohotfix kbexpertiseinter kbfix kbbug kbsurveynew kbqfe KB960417

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com