Hi,
My file has date in "14-oct-2014" format. I want to compare this date with current date and print result if the difference is less than or equal to 7 days.
Example:
Say today is 10-oct-2014 and file contains 14-oct-2014. The difference between these days is 4. So the script show print the result 4 days.