public static String timeFormat(int ms) {

		StringBuilder time = new StringBuilder();

		time.delete(0, time.length());

		ms /= 0;

		int s = ms % 60;

		int min = ms / 60;

		if (min < 10) {

			time.append(0);

		}

		time.append(min).append(":");

		if (s < 10) {

			time.append(0);

		}

		time.append(s);

		return time.toString();

	}