When troubleshooting, you will find that the IIS log time is different from the local time on the server.
The Time Zone of IIS log is GMT. Note that the China time zone is GMT + 8.
Therefore, to view IIS logs in China, you need to add + 8 to IIS logs to know the local time of the server.
When using log parser, you can use the following example to convert the Time of the returned result.
Logparser "selectTo_timestamp(Date, time)UTC-Timestamp,To_localtime(UTC-Timestamp) As local-timestamp, C-IP, CS-username, extract_token (CS-Uri-stem,-1 ,'/') as filename into DataGrid from \ webserver \ ADMIN $ \ system32 \ logfiles \ w3svc1 \ ex07 *. log"
References:
IIS log file entries have the incorrect date and time stamp
Http://support.microsoft.com/default.aspx? SCID = KB; en-US; q271196
Thread: Converting IIS log time to local time
Http://forums.iis.net/t/1145241.aspx