This project has moved and is read-only. For the latest updates, please go here.

Error Time

Jun 2, 2015 at 7:09 PM
The time shows up as 4 hours later. I tried adding code such as this:
 If Now.IsDaylightSavingTime Then
            reporter.Config.ExceptionDate = DateAdd(DateInterval.Hour, -4, Now)
            reporter.Config.ExceptionDate = DateAdd(DateInterval.Hour, -5, Now)
        End If
however, the time displayed in the form and in the email is 4 hours from now
Jun 3, 2015 at 7:45 AM
Hi Jimpar,

Thanks, yeah that's an oversight.

The ExceptionDate property cancels out whatever might be set in the ExceptionReportGenerator constructor -

So, ExceptionDate property should either not have a setter at all (in the meantime) or the code above should prioritize an explicitly set date.
Jun 3, 2015 at 1:07 PM
Thanx. I modified the code yesterday to use the current time, not the UTC time