public boolean checkDateOrder() {
	    boolean ret = true;
	    try {
	    	DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
	    	
	    	// create date format of selected  dates
			Calendar startDate = dcStartDate.getCalendar();
 			Calendar endDate = dcEndDate.getCalendar();
 			
 			if (startDate.before(endDate)){
 				return true;
 			} else {
 				return false;
 			}	        
	  
		}catch (Exception e) {
	        return false;
	    }
	}