static String writeDate(int year, int month, int day, int hour, int minute,
			int second) {
		String retu = "";
		if (day > 0) {
			retu += month + "/" + day + "/" + year;
		} else {
			retu += month + "/" + year;
		}
		String h = "", m = "", s = "";
		if (hour >= 0) {
			if (hour < 10) {
				h = "0" + hour;
			} else {
				h += hour;
			}
		}
		if (minute >= 0) {
			if (minute < 10) {
				m = "0" + minute;
			} else {
				m += minute;
			}
		}
		if (second >= 0) {
			if (second < 10) {
				s = "0" + second;
			} else {
				s += second;
			}
		}
		if (m.length() != 0) {
			h += ":";
		}
		if (s.length() != 0) {
			m += ":";
		}
		return retu + " " + h + "" + m + "" + s;
	}