public String getCurProductRelativeDate (ProductBean curProd)
	{
		Calendar submissiondate= curProd.getSubmissiondate();
		

		    int subyear = submissiondate.get(Calendar.YEAR);
		    if(subyear > 2000) {
		    	subyear = submissiondate.get(Calendar.YEAR) - 2000;
		    }

		    int submonth = submissiondate.get(Calendar.MONTH);
		    int subday = submissiondate.get(Calendar.DAY_OF_MONTH);
		    
		    
		    Calendar cal = Calendar.getInstance();
		    int curday = cal.get(Calendar.DAY_OF_MONTH);
		    int curmonth = cal.get(Calendar.MONTH);
		    int curyear;
		    
		    if(cal.get(Calendar.YEAR) > 2000) {
		    	curyear = cal.get(Calendar.YEAR) -2000;
		    }else{
		    	curyear = cal.get(Calendar.YEAR);
		    }
		    
		    
		    
		   

		    if(subyear == curyear)
		    {
		       	if(submonth==curmonth)
		    	{
		      		if(subday==curday)
		    		{
		    			return "heute";
		    		}
		    		if (curday-subday == 1)
		    		{
		    			return "vor "+ (curday-subday) + " Tag";
		    		}
		    		return "vor " + (curday-subday) + " Tagen";
		    	}
				if (curmonth-submonth == 1)
	    		{
					return "vor " + (curmonth-submonth) + " Monat";
	    		}
		    	return "vor " + (curmonth-submonth) + " Monaten";
		    }
		    if (curyear-subyear == 1)
    		{
				return "vor " + (curyear-subyear) + " Jahr";
    		}
		    return "vor " + (curyear-subyear) + " Jahren";

	}