As I understand, the default timezone for IIS logging W3C, is UTC/GMT. Is it possible to permanently change it? or I will have to convert it manually each time?


2 Answers 2


As far as I remember, you can change the formats:

  • W3C - records the logs in UTC
  • IIS - records the logs in local time
  • NCSA - records the logs in local time




Change Log File Format to IIS, which records the logs in local time.

enter image description here

If you don't want to change Log File Format, another way is to query the log using Log Parser Lizard with the following script:

SELECT TOP 100 to_localtime(to_timestamp(date,time)) AS localtime, *
FROM 'C:\inetpub\logs\W3SVC\*.log'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.