checking for various dates