DateTime Filter Expression

  • Thread starter Thread starter sdfsdfds
  • Start date Start date
S

sdfsdfds

Hi, is there anyway of selecting rows with a particular date but ignoring
the time within a date time column?

something like...
DataTable.Select("DateTimeColumn".Date = '28/12/06')

?

thanks in advance for any advice.

Sharat Koya
 
I did think that I could select a date between "27/12/06 23:59:59" and

"28/12/06 23:59:59".

Or could this work as a neater solution and does it depend upon culture?

DataTable.Select("DateTimeColumn.Date = #28/12/06#") ??
 
Back
Top