I'm sure this is easy, but I've looked everywhere and cannot find a way to do this. I have a flat file that I read, line by line. I need to look at a date that is on each of these lines, and is in the YYYYMMDD format, and see if this date falls on a Monday. If it does, I need to move the file to a different directory.
I have been able to open the file, and read each line. I cannot however figure out how to check each date. The date begins in column 64 and goes for 8 characters.
I have been able to open the file, and read each line. I cannot however figure out how to check each date. The date begins in column 64 and goes for 8 characters.