In my program I have to filter the datagridview between dates but the problem is that I put a "datetime" so it puts the day/month/year + hours/minutes/seconds but I just want to filter by date, with the code I have in C# it only works if it doesn't have the hours/minutes ahead, does anyone know the process I have to do to put the dates and ignore the hour that is ahead?
C# code:
bimedicoesBindingSource.Filter = string.Format("med_data >= #{0:yyyy/MM/dd}# And med_data <= #{1:yyyy/MM/dd}#", dtpInicial.Value, dtpFinal.Value);
Before filtering:

