Change checkDate function to accept older date even in 32bit (closes #3720)