public int compareTo(MACPacket p)
	{
		int seconds = 0;
		int pSeconds = 0;
		int milliSeconds = 0;
		int pMilliSeconds = 0;
		int microSeconds = 0;
		int pMicroSeconds = 0;
		
		for(int i = 0 ; i < this.seconds.length ; i++){
			seconds += (this.seconds[i] << ((this.seconds.length-1-i)*8)) & 0xFF;
		}
		for(int i = 0 ; i < p.getSeconds().length ; i++){
			pSeconds += (p.getSeconds()[i] << ((p.getSeconds().length-1-i)*8)) & 0xFF;
		}
		for(int i = 0 ; i < this.milliSeconds.length ; i++){
			milliSeconds += (this.milliSeconds[i] << ((this.milliSeconds.length-1-i)*8)) & 0xFF;
		}
		for(int i = 0 ; i < p.getMilliSeconds().length ; i++){
			pMilliSeconds += (p.getMilliSeconds()[i] << ((p.getMilliSeconds().length-1-i)*8)) & 0xFF;
		}
		for(int i = 0 ; i < this.microSeconds.length ; i++){
			microSeconds += (this.microSeconds[i] << ((this.microSeconds.length-1-i)*8)) & 0xFF;
		}
		for(int i = 0 ; i < p.getMicroSeconds().length ; i++){
			pMicroSeconds += (p.getMicroSeconds()[i] << ((p.getMicroSeconds().length-1-i)*8)) & 0xFF;
		}
		
		//get all seconds into one time of long and after subtraction back to int
		long time = (seconds*1000)*1000 + milliSeconds*1000 + microSeconds;
		long pTime = (pSeconds*1000)*1000 + pMilliSeconds*1000 + pMicroSeconds;
		time = time -pTime;
		int intTime = (int)time;
		
	    return intTime;
	}