Time now = new Time(); CharSequence text = now.format2445(); Toast toast = Toast.makeText(getApplicationContext(), text, Toast.LENGTH_SHORT); toast.show();
java.util.Date
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)