IIS Log File Type Sets the Time Zone

The other day, I worked with IIS, which has been a while. I looked at the logs with a coworker and noticed the time was off. At first, we looked at the Server time, and it was correct. But the records were way off.

IIS supports three different log file types. The log file type will decide what time is being used in your logs:

W3C (default format) = UTC time zone
IIS = Local time
NCSA = Local time zone

Since W3C is the default log file type, the default time zone for IIS logs is UTC. You can change that by changing the log file type.