Simplified check for date