Hi techies,
I have a comma delimited file in this format;
aa,001,2003-08-14-10.57.39.807324,aa,
aa,001,2003-08-15-10.57.39.807324,aa,
aa,003,2003-08-17-11.57.39.807324,aa,
aa,003,2003-08-17-10.57.39.807324,aa,
aa,003,2003-08-17-10.59.39.807324,aa,
Field 3 is a date timestamp field. I am trying to extract where field 2 occurred most recently based on field 3. Example I want to only end up with this in my output;
aa,001,2003-08-15-10.57.39.807324,aa,
aa,003,2003-08-17-11.57.39.807324,aa,
I am getting stuck on the finding the most recent date.
I have a comma delimited file in this format;
aa,001,2003-08-14-10.57.39.807324,aa,
aa,001,2003-08-15-10.57.39.807324,aa,
aa,003,2003-08-17-11.57.39.807324,aa,
aa,003,2003-08-17-10.57.39.807324,aa,
aa,003,2003-08-17-10.59.39.807324,aa,
Field 3 is a date timestamp field. I am trying to extract where field 2 occurred most recently based on field 3. Example I want to only end up with this in my output;
aa,001,2003-08-15-10.57.39.807324,aa,
aa,003,2003-08-17-11.57.39.807324,aa,
I am getting stuck on the finding the most recent date.