Report on Cisco Software Compliance based on Compile Date/time

Would like to create a report and widget based on Cisco software version compile date. It would need to pull the compiled date from the "show version" command and then filter by years old from that date and add a letter grading between A-F based on the date.