HI,
Sorry, I had a mistake for condition. Expression will be as the following. Can you try this?
dt = dt.AsEnumerable.Where(Function(r) CDate(r("C").ToString)<>Today.AddDays(-1) OrElse CDate(r("D").ToString).ToString("HH:mm")>"07:30").CopyToDataTable
Sample20220909-4.zip (10.7 KB)
Regards,