public void setDate(String timeStamp) {
/*		if (imessage)
			timeStamp+=978307200;*/
		try{

			long unixTime = Long.parseLong(timeStamp);
			Date d = new Date(unixTime* 1000);
			if (isiMessage()){
				Calendar cal = Calendar.getInstance();
				cal.setTime(d);
				cal.add(Calendar.YEAR, 31);
				cal.add(Calendar.DATE, 1);
				this.date = cal.getTime();
				
			}else{
				this.date = d;
				
			}
		}catch (NumberFormatException e){
			e.printStackTrace();
/*			long unixTime = Long.parseLong(timeStamp.replace(".", "").substring(0,10));
			this.date = new Date(unixTime* 1000);*/
		}
	}