EndDate and StartDate Issue


I try to update report by button, but after binding the EndDate and StartDate from the Report Viewer with Report Window Root Container EndDate and StartDate, I get this dates below:


I do not use any time ranges in my project, so I do not have idea where these 01/01/1970… dates come from.

Any hints?

So, your time zone is UTC+2 right now, I presume. A date like that is what you get when you convert a zero to a date. (Unix epoch starts 1970-01-01 00:00 UTC.) When you don’t supply dates of your own to datetime properties, they are initialized with a zero. If you aren’t using them in the report, it is harmless.


Thank you, pturmel! Noted!