Hi,
I have a file with date's in this format 30-JAN-00 that I need to convert to this format 2000-01-3000.00.00.
Any ideas on how to first search the file line by line for a month (jan-dec) and then confirm it's a date field (DD-MMM-YY) because it's possible the text JAN, FEB etc. can appear in a comments field on the file.
Cheers.
I have a file with date's in this format 30-JAN-00 that I need to convert to this format 2000-01-3000.00.00.
Any ideas on how to first search the file line by line for a month (jan-dec) and then confirm it's a date field (DD-MMM-YY) because it's possible the text JAN, FEB etc. can appear in a comments field on the file.
Cheers.