Searching a file based on dates
Posted on 1998-08-18
I have task like this.
I have a text file which has lines like this.
ProbNO, StartedBy,StartDate, Processed By,ProcessDate,EndedBy,EndDate.
The above is a general form of a single line.
The example entries in the file are like
The user from the inter face enters
Start Date : 1998/09/12
End Date : 1998/09/16
and says OK.
I have to return a datewise problem numbers started and ended. i.e.
Date Started Ended
1998/09/12 1 0
1998/09/13 2 0
1998/09/14 1 1
1998/09/15 0 2
1998/09/16 0 1
That is the number of problems started on the date and the number of problems ended on that date for all dates.
Hope this is clear.