DateTime.MaxValue.ToLongTimeString() property to your datatime variable and in Database you can query like select * from Table where CreatedDate < GivenDate
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)