Hi guys, I would like to ask you something about the Time class.

I'm trying to grab time doing:

Time now = new Time();
now.setToNow();

But if I have my phone set to the AM/PM behaviour, now.hour returns me
a < 12 number, even if noon is gone by. Am I wrong doing something? Or
the native method setToNow() has some problem?

Second question, is there an alternative way to get the current time?

Thanks you!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to