i am trying to work on getting data based on start and end date but i keep getting an error each time, this is what i have
var startDateTime = DateTime.SpecifyKind(StartDate.Value.ToDateTime(TimeOnly.MinValue), DateTimeKind.Utc);
var endDateTime = DateTime.SpecifyKind(EndDate.Value.ToDateTime(TimeOnly.MinValue), DateTimeKind.Utc);
New contributor
Stephen OHAERI is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.