How to filter the dates in column
Example : Input
Date
1/1/2022
2/1/2022
3/1/2022
4/1/2022
5/1/2022
6/1/2022
7/1/2022
8/1/2022
9/1/2022
In the output panel
6/1/2022
7/1/2022
8/1/2022
9/1/2022
Thanks…
How to filter the dates in column
Example : Input
Date
1/1/2022
2/1/2022
3/1/2022
4/1/2022
5/1/2022
6/1/2022
7/1/2022
8/1/2022
9/1/2022
In the output panel
6/1/2022
7/1/2022
8/1/2022
9/1/2022
Thanks…
I need 6,7,8,9 dates
use this linq query
(
From row In DT
Where CDate(row(“Date”).ToString) > CDate(“5/1/2022”)
Select row
).CopyToDataTable
inside the for each loop
use write line
CurrentRow(“Date”).ToString
Dt.asenumnerable.where(Function(x) cdate(×(0).tostring)>cdate(“05/01/2022”)).CopyToDataTable
Try this
yourDataTable = yourDataTable.Select(“[Date] >= #6/1/2022#”).CopyToDataTable()
After using Read Range Workbook you can use this syntax in Assign activity
dtInput.AsEnumerable().Where(Function(row)
DateTime.ParseExact(row("Date").ToString, "d/M/yyyy", System.Globalization.CultureInfo.InvariantCulture) >= New DateTime(2022, 6, 1).CopyToDataTable()
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.