IIS Time Zone and daylight saving changes

daylight-savingiislocalizationtimezone

How can I determine Time Zone setting for IIS.
It seems that ever since the daylight savings were applied (+1 hour) the time returned by IIS is 1 hour behind as the +1 was ignored.

The time on the server itself is correct, but when the application code calls getDateTime it would return the incorrect time. Any thoughts?

EDIT

The application code is in .net and this particular part is related to SQLMembershipProvider. Basically when a user is logged in the last login datetime is updated and stored in database. That is always 1 hour behind the actual time. The tome settings on both servers (the application server and the one hosting SQL Server are correct), and it is independent on the client site settings

EDIT 2

Thanks for the answers, it turns out the the source of the problem was not IIS related

Best Answer

IIS always logs in GMT - you can configure the rollover time. The time changes because your servers change for DST. The log is static though

The selected log file format is the W3C Extended Log File Format. 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. This behavior is by design.

http://support.microsoft.com/kb/271196

Related Topic