Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Extended Log File Format Always in GMT


View products that this article applies to.

Symptoms

Internet Information Server (IIS) and Internet Information Services (IIS) administrators cannot change the time format for the extended log file format to use a time zone other than Greenwich Mean Time (GMT).

↑ Back to the top


Cause

The extended log file format is defined in the W3C Working Draft WD- logfile-960323 specification by Phillip M. Hallam-Baker and Brian Behlendorf. This document defines the Date and Time files to always be in GMT:
Date
<date> = 4<digit> "-" 2<digit> "-" 2<digit> Dates are recorded in the format YYYY-MM-DD where YYYY, MM and DD stand for the numeric year, month and day respectively. All dates are specified in GMT. This format is chosen to assist collation using sort.

Time
<time> = 2<digit> ":" 2<digit> [":" 2<digit> ["." *<digit>]

Times are recorded in the form HH:MM, HH:MM:SS or HH:MM:SS.S where HH is the hour in 24 hour format, MM is minutes, and SS is seconds. All times are specified in GMT.

This behavior is by design.

↑ Back to the top


More information

For more information on the extended log file format, see the W3C Working Draft WD-logfile-960323 specification at the following URL:
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
193612 Log Files Rolled Over According to GMT, Not Local Time Zone

↑ Back to the top


Keywords: kbpending, kbprb, KB194699

↑ Back to the top

Article Info
Article ID : 194699
Revision : 6
Created on : 7/7/2008
Published on : 7/7/2008
Exists online : False
Views : 375