Thanks, I did find this... pdf_timeStamp = time.strftime("%m%d%y%H%M%S",time.localtime(os.path.getmtime(pdf))) >> pdf_timestamp >> '102909133000' ... but now how to do the comparison? Cannot just do a raw string comparison, gotta declare it a date