Code example for Time

Methods: setToNowtoString

0
		Log.e(LOG_TAG, "start onUnbind~~~");
		return super.onUnbind(intent);
	} 
 
	public String getSystemTime() {
		Time t = new Time();
		t.setToNow();
		return t.toString();
	} 
 
	public class FakeBinder extends Binder {
		FakeService getService() { 
			return FakeService.this;
		} 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java