I have a below csv, where i need to display all records based on the ‘CreatedDate’ range column. Program should accept 2 input parameters such as FromDate & ToDate.
FromDate should be like ’20/09/2020′ and ToDate should be like ’30/10/2022′
Now the program should display all the records between ’20/09/2020 00:00:00′ and ’30/10/2022 00:00:00′. For this range, ideally it should display the first 3 records, which falls under given range.
No,Name,Sal,CreatedDate
1,ABC,1000,23/09/2020 12:12:00
2,DEF,1000,13/05/2021 10:11:09
3,XYZ,1000,19/10/2022 00:02:10
4,PQR,1000,09/09/2023 01:02:09
5,MNO,1000,30/03/2024 09:10:44
I just started writing a python code on this requirement and share my code shortly.
1