* @return given time with the current date.
	 * @throws IntraceException
	 */
	static public long setCurrDate(long time) throws IntraceException {
		Date currentDate = new Date();
		Date objTime = new Date(time);
		
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy MMM dd HH:mm:ss.SSS");	
		
//		System.out.println("In Test util 1, starting with date: [" + sdf.format(currentDate) + "]");
//		System.out.println("In Test util 2, starting with time: [" + sdf.format(objTime) + "]");
		
		Calendar calTime = new GregorianCalendar();
		calTime.setTime(objTime);
		Calendar calDate = new GregorianCalendar();
		calDate.setTime(currentDate);
		
		Calendar calDateTime = new GregorianCalendar();
		
		calDateTime.set(Calendar.YEAR,			calDate.get(Calendar.YEAR) );
		calDateTime.set(Calendar.MONTH,			calDate.get(Calendar.MONTH) );
		calDateTime.set(Calendar.DAY_OF_MONTH,	calDate.get(Calendar.DAY_OF_MONTH) );

//		System.out.println("hourOfDay \t: " + calTime.get(Calendar.HOUR_OF_DAY));
//		System.out.println("minute \t\t: " + calTime.get(Calendar.MINUTE));
//		System.out.println("second \t\t: " + calTime.get(Calendar.SECOND));
//		System.out.println("millisecond \t: " + calTime.get(Calendar.MILLISECOND));		
		
		calDateTime.set(Calendar.HOUR_OF_DAY,	calTime.get(Calendar.HOUR_OF_DAY)); // 24 hour clock
		calDateTime.set(Calendar.MINUTE,		calTime.get(Calendar.MINUTE));
		calDateTime.set(Calendar.SECOND,		calTime.get(Calendar.SECOND));
		calDateTime.set(Calendar.MILLISECOND,	calTime.get(Calendar.MILLISECOND));
		
//		System.out.println("In Test util 3, starting with time: [" + sdf.format(calDateTime.getTime()) + "]");
		
		return calDateTime.getTime().getTime();
	}