public static String printTime()
	{
		String hour 	= String.valueOf(Calendar.getInstance().get(Calendar.HOUR));
		String min		= String.valueOf(Calendar.getInstance().get(Calendar.MINUTE));
		String seconds	= String.valueOf(Calendar.getInstance().get(Calendar.SECOND));
		String am_pm	= null;

		int isAM = Calendar.getInstance().get(Calendar.AM_PM);
		if (isAM == Calendar.AM)
		{
			am_pm = "AM";
		}
		else
		{
			am_pm = "PM";
		}

		if (min.length() == 1)
		{
			min = "0" + min;
		}

		if (seconds.length() == 1)
		{
			seconds = "0" + seconds;
		}

		return hour + ":" + min + ":" + seconds + " " + am_pm;
	}