Can someone tell me what exactly this is doing ?
This datetime is used for logging the times errors occur on our site.Code:Dim gmtOffset As Integer = DateTime.Compare(DateTime.Now, DateTime.UtcNow)
Printable View
Can someone tell me what exactly this is doing ?
This datetime is used for logging the times errors occur on our site.Code:Dim gmtOffset As Integer = DateTime.Compare(DateTime.Now, DateTime.UtcNow)
Its comparing the local time with the universal time... (greenwich)
IF the local time is less than, you are behind greenwich timezone, etc..