V
vertigo
Hello
i tried:
Calendar c = Calendar.getInstance();
Date d = c.getTime();
text.append(c.HOUR+":"+c.MINUTE+":"+c.SECOND); //1
text.append(d.getHours()+":"+d.getMinutes()+":"+d.getSeconds());//2
text.append(d.getTime());//3
in 1 i receive always: 10:12:13
in 2 functions are deprecated.
in 3 i do not know how to change long to String(data).
COuld anybody help ? How to simply dipslay time ?
Thanx
Michal
i tried:
Calendar c = Calendar.getInstance();
Date d = c.getTime();
text.append(c.HOUR+":"+c.MINUTE+":"+c.SECOND); //1
text.append(d.getHours()+":"+d.getMinutes()+":"+d.getSeconds());//2
text.append(d.getTime());//3
in 1 i receive always: 10:12:13
in 2 functions are deprecated.
in 3 i do not know how to change long to String(data).
COuld anybody help ? How to simply dipslay time ?
Thanx
Michal