searchdate & cmpdate

Changed print format to more readable fashion.
searchdate and cmpdate func added.
Need to work on checkoption.