How to filter DataView/DataTable by time? I have a table with datetime column inside and I need to filter by the time that is inside that datetime value. In native SQL it’s not so hard but in ADO.NET Expressions it makes a dificulity for me.
How to filter DataView/DataTable by time? I have a table with datetime column inside
Share
If you want the filter to ignore the date component of the DateTime altogether, then I don’t think this is possible by using the filter expression.
However, if filtering by both date and time suits your needs, then you could do something like this :
Note the use of the ISO date/time format : “yyyy-MM-ddTHH:mm:ss.fffffff”
in the filter.