Register now or log in to join your professional community.
It gives exact result if we pass DataTime in fallowing format var sqlDateFrom = dt_From.Date.ToString("yyyy-MM-dd HH:mm:ss") But it gives Diffrent Ouptput when we pass DateTime without convrting it into string.
Yeah it has the accurate value thats why we use.